auth-made-easy
v1.0.5
Published
One stop solution for auth services
Downloads
9
Maintainers
Readme
Auth Made Easy
A simple and flexible package which let you setup your express backend very easily
Installation
npm install auth-made-easy
Setup
- create a index.js file
- import authmadeeasy method
import authmadeeasy from "auth-made-easy/authmadeeasy.js";
authmadeeasy({
db_uri: 'mongodb://localhost:27017',
db_name: 'mycustomdb',
port: 3000
});
- Update package.json
{
"scripts": {
"dev": "nodemon index.js",
"run": "node index.js"
},
"type": "module",
"dependencies": {
"auth-made-easy": "^1.0.3"
}
}