create-pem-auth-kit

1.0.1 • Public • Published

Passportjs Starter Kit Using Ejs & Mongodb

  • This is a starter kit with passport local strategy.
  • Database : mongodb

Github Repo

Link : https://github.com/AdarshJaiswal031/PEM_Auth_Kit

Installations Required

  • mongodb
  • git
  • nodejs

Commands

npx create-pem-auth-kit folder-name
cd folder-name
npm i
npm start
npm i nodemon
nodemon

Endpoints [/routes/index.js]

  • /signin
  • /signup
  • /signout

File Structure

  • /setups/config :- database.js , passport.js
  • /setups/lib :- passwordUtils.js
  • /bin/www :- serving specific code
  • /views :- all ejs files
  • app.js : all combined

Readme

Keywords

none

Package Sidebar

Install

npm i create-pem-auth-kit

Weekly Downloads

1

Version

1.0.1

License

none

Unpacked Size

2.13 kB

Total Files

3

Last publish

Collaborators

  • adarshj031