Node.js Auth Boilerplate
Boilerplate Node.js app demonstrating how to add end-to-end authentication & authorization using PassportJs, Express, MongoDb and Permify
Check out the article tutorial for the full guide.
Getting started
To get the Node server running locally:
- Clone this repo
npm install
to install all required dependencies- Install MongoDB Community Edition (instructions) and run it by executing
mongod
npm start
to start the local server
Open http://localhost:3000 to view it in your browser.
Need More, Check Out our API
Permify API is an authorization API which you can add complex rbac and abac solutions.