https://github.com/paradoxinversion/nextjs-mongodb
A simple nextjs + mongodb example
https://github.com/paradoxinversion/nextjs-mongodb
Last synced: 9 months ago
JSON representation
A simple nextjs + mongodb example
- Host: GitHub
- URL: https://github.com/paradoxinversion/nextjs-mongodb
- Owner: paradoxinversion
- Created: 2020-09-23T22:20:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-24T00:01:41.000Z (over 5 years ago)
- Last Synced: 2025-08-05T11:40:29.856Z (10 months ago)
- Language: JavaScript
- Size: 85.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NextJS + MongoDB
This is a small repo showing how to use MongoDB with NextJS.
## Getting Started
Install dependencies with `yarn install`.
Have your mongodb uri ready, whether it's local or remote and add it to `.env.local` in your root directory, under the entry `DATABASE_URI=`.
## Running
```
yarn dev
```