- Frontend:
- Backend:
- Typescript
- Fastify server
- Sqlite via better-sqlite3
In order to use the boilerplate you will need the following:
- Node.js 20+
- Pull the repo
git clone [email protected]:stepful/interview_template.git && cd interview_template- (Optional) Copy .env.sample to .env (should be sensible defaults, but feel free to make changes as desired)
cp .env.sample .env- Install packages for all workspaces, and seed DB
npm run setup- Start dev servers (vite, fastify)
npm run devYou should now be able to reach the frontend app at http://localhost:3000 (and this port is configurable via VITE_FRONTEND_SERVER_PORT in .env.local).
The backend is available at http://localhost:3001 (and this port is configurable via VITE_BACKEND_SERVER_PORT in .env.local).