This is a Next.js project bootstrapped with create-next-app.
Make sure to install docker as the local database will run in a docker container. Once Docker is installed, run the following command to create the database:
docker compose up -dOnce the database is created, copy or rename .env.example to .env and fill in all the required values. Next, run the following commands:
# install dependencies
npm install
# create tables
npm run db:push
# generate prisma client
npm run db:generate
# add default data to database
npm run db:seed
# start app
npm run snipespaceOpen http://localhost:3000 with your browser to see the result.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
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 - your feedback and contributions are welcome!
This project is licensed under a proprietary license. The software:
- Cannot be sold or used for commercial purposes
- Cannot be redistributed in any form
- Remains under the full ownership of the copyright holder
See the LICENSE.md file for full terms and conditions.