Skip to content

D3monw3st/nextjs-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. Make sure MongoDB is installed and running on your computer.
  2. Navigate to the root folder.
  3. Create a file called .env.local and add the line MONGODB_URI="mongodb://localhost:27017"
  4. Type npm install
  5. Type node src/script/setupMongo.mjs
  6. Type npm run dev
  7. Navigate to http://localhost:3000