Suss out your app's usability!
Install the dependencies:
npm installYou will need to set some environment variables before running the app. Start by creating a .env file in the root of the project. You can do this by copying the existing .env.example file:
cp .env.example .envYou will also need a .env.local file for things like NextAuth.
cp .env.local.example .env.localFirst, run the development server:
npm run devOpen http://localhost:3000 with your browser to see the result.
This project uses next/font to automatically optimize and load Inter, a custom Google Font.
To push the prisma schema to the database:
npx prisma db pushTo seed the database with test data:
npx prisma db seedTo open prisma studio to view the database with a UI:
npx prisma studioTo migrate the database:
npx prisma migrate devLearn more about Prisma here
This project uses Cypress for end to end testing.
To open Cypress:
npm run cy:openLearn more about Cypress here
When running e2e tests in the Github CI, you'll need to add the AUTH_SECRET environment variable to your repository's secrets.
This project uses Vitest for unit testing.
To run unit tests:
npm run testLearn more about Vitest here
This is a Next.js project bootstrapped with create-next-app.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out Vercel's Next.js deployment documentation for more details.