Skip to content

Example note app with Next.js app router, server actions.

Notifications You must be signed in to change notification settings

kaitok/nextjs-note-app

Repository files navigation

Next.js Note App

Example note app with Next.js app router, server actions.

  • Next.js App Router
  • Server Actions
  • MongoDB + Prisma
  • Tailwind CSS, daisyUI

Setup .env

cp .env.exmaple .env

Buid & Run

docker compose build
docker compose up -d

Setup mongo

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

About

Example note app with Next.js app router, server actions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published