Concept app that uses NextJS as fullstack framework that handles requests from frontend and serves data from database. Prisma is used as source of data types for frontend and backend parts, and keeps them in sync with data types from database.
⚛️ Next 13
💨 Tailwind
🟦 TS
🔌 Prisma
🗂️ Dockerized MySQL DB
🗃️ CVA
🟩 Node >=14.18
🐳 Docker
-
Use docker compose to make DB running
docker compose up
-
Copy .env file
cp .env.sample .env
-
Install node dependencies
npm install
-
Generate prisma stuff to connect ORM with DB
npm run prisma
Confirm if warnings about missing migrations occour.
-
Run app in dev mode
npm run dev
This is a Next.js project bootstrapped with create-next-app
.