HS831 / auth-service-app

This Project contains the code for any authentication service required by any application. Used Google Oauth2.0 with passport.js and JsonWebToken for creating authorization functionality.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auth Service App

APIs List :

  • POST users/signup: Register New User
  • POST users/signin: Log In
  • POST users/forgotPassword: Register for New Password
  • POST users/resetPassword/:token: Updates the New Password
  • POST users/verifyEmail: Verify the email account of user.

Tech-Stack Used

Overpay-Auth uses a number of Libraries to work properly:

  • Node.js
  • Express.js
  • mongoose
  • For Database : MongoDB
  • For authentication : jsonwebtoken
  • For Google OAuth : passport.js and Google OAuth Client ID and Secret
  • And many more..

Installation

This application requires Node.js v10+ to run.

Steps to run this project :

Step 1 : Clone this Repo 
Step 2 : Open your bash shell and run code git clone {git clone url}
Step 3 : Install the dependencies and devDependencies and start the server using npm install.

Step 4 : npm run dev : For development enviorments

The local server will start at 127.0.0.1:3000/

Test out the APIs in Postman

Run in Postman

Postman Documentation Link

Postman Documentation

About

This Project contains the code for any authentication service required by any application. Used Google Oauth2.0 with passport.js and JsonWebToken for creating authorization functionality.


Languages

Language:JavaScript 100.0%