This verifies your machine can run the interview stack. It should take about 5 minutes.
Requirements:
- Node.js 20 or later
- npm
npm install
npm run check
If all checks pass:
npm run dev
Open http://localhost:3000. You should see a table of biology and immunology books, green status badges, and a message showing how many books were loaded from the local SQLite database.
The app uses:
- A React frontend served by Vite on port
3000 - An Express API on port
3001 - A local SQLite database stored in
server/data/app.db
Open this project in your editor and verify:
- Autocomplete works — hover over
Bookinserver/db.tsorfrontend/App.tsx - Type errors show — try changing
year: numbertoyear: stringand check for red squiggles - Go-to-definition works — cmd/ctrl-click on
getBooksinserver/index.ts