Skip to content

gouravTheDev/node-express-mongo-auth-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node-Express-Mongodb AUTH API

Signup and Signin Auth API project built using Node.js, Express.js, MongoDB, Mongoose.

In the models folder mongoose scheema files are there.. in routes folder routes are specified.. In controllers node-express logics are written.

This includes JWT authentication for signin process.

Guideline:-
1. Clone the repo.
2. npm install
3. create a .env file
4. Inside the .env file create 3 variables.
DATABASE=mongodb://localhost/mydb (Any db name and hosting)
PORT=8000
SECRET=HDJGHDJGHDJKUTIYUOE8345UHDKFNSJFSITIEosdjidujfgjdje9urt34tketjksdlsd (Any long string)
5. npm start

About

AUTH API using Node.js, Express.js, MongoDb

Resources

Stars

Watchers

Forks

Packages

No packages published