Example note app with Next.js app router, server actions.
- Next.js App Router
- Server Actions
- MongoDB + Prisma
- Tailwind CSS, daisyUI
cp .env.exmaple .env
docker compose build
docker compose up -d
prisma require replica set for mongodb
docker compose exec -it mongo sh
mongosh
rs.initiate({_id: 'rs0', members: [{_id: 0, host: 'mongo:27017'}]});
Add hostname to /etc/hosts
127.0.0.1 mongo