This simple project is a starting point for your take-home test. It is built with the following technologies:
- React, a JavaScript library for building user interfaces
- Next.js, a frontend framework for server-side rendering, easy routing, serverless RESTful API
- Prisma, a database ORM for Node.js
- Scaffolding is set up for SQLite
npm i
Create a local SQLite database and run migrations.
npx prisma migrate dev --name init
Seed the database with the sample data from prisma/seed.js
.
Run the following command and select yes when prompted
npx prisma migrate dev --name init && npx prisma db push --force-reset && npx prisma db seed
npm run dev
The app is now running, navigate to the address shown in the terminal in your browser to explore the assignment.
./node_modules/mocha/bin/mocha.js