Basic node project with setup for making a node-based API using JWT with Passport.js and mongoose.
- a dev server instance at localhost:3090
- Pre configured JWT with Passport.js to handle token based routing with local settings for login
- Simple starter routes for obtaining a token and utilizing your mongoose store for login-based access
- A protected route using pre-built middleware with bcrypt
- Your mongoose creds
- A .env or config file for JWT secret
- Clone repo
- cd into repo and run
yarn - run
yarn startto fire up dev server