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
mongodb
database or usecloud
database service - Create a
.env.local
file usingexample.env
file
Then, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
Home page