https://github.com/didinj/node-express-mongoose-passport-jwt-rest-api-auth
Node, express, mongoose, passport and JWT REST API authentication example
https://github.com/didinj/node-express-mongoose-passport-jwt-rest-api-auth
api express expressjs jwt jwt-authentication jwt-bearer-tokens jwt-token mongoose mongoosejs node nodejs passport passportjs rest rest-api restful restful-api
Last synced: 13 days ago
JSON representation
Node, express, mongoose, passport and JWT REST API authentication example
- Host: GitHub
- URL: https://github.com/didinj/node-express-mongoose-passport-jwt-rest-api-auth
- Owner: didinj
- License: mit
- Created: 2017-04-10T14:38:54.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-22T10:41:35.000Z (over 2 years ago)
- Last Synced: 2025-04-02T16:42:42.217Z (21 days ago)
- Topics: api, express, expressjs, jwt, jwt-authentication, jwt-bearer-tokens, jwt-token, mongoose, mongoosejs, node, nodejs, passport, passportjs, rest, rest-api, restful, restful-api
- Language: JavaScript
- Homepage: https://www.djamware.com/post/58eba06380aca72673af8500/node-express-mongoose-and-passportjs-rest-api-authentication
- Size: 5.4 MB
- Stars: 201
- Watchers: 6
- Forks: 64
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# node-express-mongoose-passport-jwt-rest-api-auth
This source code is part of tutorials [Node, Express, Mongoose and Passport.js REST API Authentication](https://www.djamware.com/post/58eba06380aca72673af8500/node-express-mongoose-and-passportjs-rest-api-authentication)
Before run this example, make sure you have installed and running MongoDB.
Step to run locally:
* Clone this repo
* Run 'npm install'
* Run 'npm start'If you think this source code is useful, it will be great if you just give it star or just buy me a cup of cofee [](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Q5WK24UVWUGBN)