This is a Next.js project using mongodb wrapped into docker container.
First, run the development server:
If First time running
docker-compose up --build
Else
docker-compose up -d
Run this command to access shell:
docker exec -it next-js-blog-app sh
To run Prisma Studio:
docker exec -it next-js-blog-app npx prisma studio
Open http://localhost:3000 with your browser to see the result.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.