Auth system with Node Express Mongo and PassportJS
To run the repository,
-
Clone the repository with
git clone git@github.com:RtjShreyD/Node-Passport-Auth.git
. -
Run command
cd Node-Passport-Auth/
. -
Create a MongoDB cloud Instance by logging on https://cloud.mongodb.com/
-
Grab the url to the cloud instance, it looks somewhat like the following, "mongodb+srv://:@cluster0.pcmxe.mongodb.net/myFirstDatabase?retryWrites=true&w=majority'"
-
Go to
config/keys.js
and replace the MongoURI string with thee URL of the current Mongo cloud instance. -
Run
npm i
. -
Run
npm start dev
, server will be listening on localhost:5000, checkout from browser.