/nextJS-with-mongoDB

Project for MongoDB Atlas Hackathon on DEV

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Next.js + MongoDB + Tailwind CSS

Steps to Run the Website

  • Run yarn or npm install to install all the dependencies
  • Copy .env.local.example into .env.local and fill the credentials
  • Setup MongoDB database
    • For the MongoDB Atlas Search, you should create search index in the collection of the database
  • Run yarn dev or npm run dev to open the website on the browser
  • Run localhost:3000/api/seed to load the sample data in the database

#AronSwartz❤️