- 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 git@github.com: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 dev
You 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
).