To local run, you need a docker database:
docker-compose up -d
-
-d means: detached
-
MongoDB URL Local mongodb://localhost:27017/entriesdb
Then, run the development server:
npm run dev
# or
yarn dev
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.