This is a Next.js project bootstrapped with create-next-app
.
- VSCode
- Plugins: Code Coverage, DotENV, Jest, Prettier
- Yarn
# Install Dependencies
yarn add
# Setup envs
cp .env.example .env.local # --> Fill .env.local
# Generate Prisma Client
yarn prisma-generate
# Sync Prisma Client to Database
yarn prisma-sync
# Push init.sql
psql <URL> -f ./db/init.sql
# Run Development Server
yarn dev
Visit http://localhost:3000 in your browser to see the result.
Tests can be added to './test'. Frontend tests can be added to './test/pages'.
yarn test
- Docker and Docker-Compose have to be installed
.env.local
has to be filled correctly- Run:
docker-compose up --build
Visit http://localhost:80 in your browser to see the result.
Sources are located at ./src
.
Pages are located at ./scr/app
.
APIs are located at ./src/app/api
.
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!