We provide this template to save you time on setting up some basics. You are welcome to change anything you like in this exercise template.
For your convenience this template is set up with Next.js & a SQLite database. You don't have to use these, you can use any tools you like but the stack should be React or Vue backed by a relational database.
Please do this ahead of time for your interview.
There are 3 options you can choose from:
- Use GitHub Codespaces.
- Use a local Devcontainer.
- Run everything locally.
- Click the green
<> Code
button at the top of the page. - Create a new Codespace in this repository.
- Run
npm install
in the terminal. - Run
npm run dev
to start the Next.js dev server.
- Check this respository out locally.
- Open the folder in VSCode.
- When prompted, choose to open the Devcontainer. It will automatically build and open it.
- Run
npm install
in the terminal. - Run
npm run dev
to start the Next.js dev server.
- Install Docker
- Install Node.js 20. If you're using OS X or Linux we recommend using nvm
- Run
npm install
in the terminal. - Run
npm run dev
to start the Next.js dev server.
npm run dev
to start the Next.js development servernpm run lint
to account for all linting stepsnpm run test
to run all any unit tests.npx prisma migrate deploy
to run migrations against the database.npx prisma migrate dev
to create new migrations.npx prisma generate
to regenerate the Prisma bindings.