- Step 1: Clone the repo with HTTP or GitHub CLI
- Open your terminal and cd to the folder of the cloned project (it should be `next-mongodb-integration-article)
- Copy the
.env.example
file as.env
, then add the appropriate value - Run
npm install
to install all the dependencies - Run
npm run dev
to start the development server - Play around with the code to see how things work
Ksound22/next-mongodb-integration-article
The code for my article on how to integrate MongoDB into Next JS
TypeScript