This is a NextJs + NestJs fullstack web application.
Follow the steps below to run the project on your local machine
To start the postgres databse using Docker Compose, follow these steps:
-
Clone this repository
-
Make sure you have Docker and Docker Compose installed on your machine.
-
Run the following command to start the app:
cd backend
docker compose up
Once the build is completed, follow the steps below to run the frontend and backend.
Keep the docker compose running and start another terminal to run the commands in the next steps.
-
NextJs Frontend
cd frontend npm install npm run dev
-
NestJs backend
cd backend
npm install
npx prisma generate
npx prisma migrate dev
npm run start:dev
- After both ends start running, access the app at
http://localhost:3000 # this is the url to access the NextJs app