mohi2code / auth-demo

A demo project demonstrating authentication flow

Home Page:https://auth-local-oauth.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

auth-demo

A demo project demonstrating authentication flow, including local authentication and OAuth with Google

Functionality

  • users can register with an email and provide a password.
  • users can login with email & password.
  • users can authenticate with a google account.
  • users who aren't authenticated can't access /protected page.
  • passwords must be more than 8 chars containing capital/small letters, numbers and special chars.

Prerequisite

  • Node.js & mongod
  • MongoDB

Usage

  1. clone the repo.
  2. run npm install.
  3. run npm run dev.
  4. go to http://localhost:3000/

About

A demo project demonstrating authentication flow

https://auth-local-oauth.herokuapp.com/


Languages

Language:CSS 34.1%Language:SCSS 28.8%Language:Less 28.4%Language:HTML 5.2%Language:JavaScript 3.5%Language:Shell 0.0%