This is the simple blog post application using Next.js + Mongoose integration. This application includes the example of server and client components as well as how to make requests to MongoDB on server and client side.
This is a Next.js project bootstrapped with create-next-app.
- Configure the
mongodbdatabase or useclouddatabase service - Create a
.env.localfile usingexample.envfile
Then, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
Home page
