- Clone this repo with
git clone [email protected]:reedbarger/next-connect.git
- Install dependencies (
npm install
oryarn install
) - Go to MLab and create a new (free) database
- Copy the Database URI to connect using the Mongo Driver
- Change your .env.default file to just .env and paste the copied uri as the value for MONGO_URI in .env
- Add any random string for the SESSION_SECRET entry in your .env file
- Run with
npm run dev
oryarn dev
- Server should be listening on localhost:3000
aizazshahid / learning_get_connect Goto Github PK
View Code? Open in Web Editor NEWA Social Media App made while learning next.js