Skip to content

This node.js project contains the ff. which are express.js, passport.js, passport-google-oauth2, express-session, mongoose, jsonwebtoken,

Notifications You must be signed in to change notification settings

jonanpogi/mern-auth-boiler-plate

Repository files navigation

MERN-AUTH

A simple Node.js project that have the functionality to google signin, logout, and have the capability to check protected api calls.

STEPS

  1. docker compose -d up
  2. touch .env
  3. nano .env
  4. paste the ff. GOOGLE_CLIENT_ID= GOOGLE_CLIENT_SECRET= BASE_URL= JWT_SECRET_KEY= SESSION_SECRET_KEY= SESSION_COOKIE_NAME= SESSION_EXPIRY_MAX_AGE= MONGODB_URL= MONGODB_DB= MONGODB_AUTO_INDEX= JWT_EXPIRES_IN=
  5. npm install
  6. npm run:dev

About

This node.js project contains the ff. which are express.js, passport.js, passport-google-oauth2, express-session, mongoose, jsonwebtoken,

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published