Giter VIP home page Giter VIP logo

basic-auth's Introduction

RBUCKET AUTH PACKAGE DOC

Registration API

This API contains the registration of the user

POST : https://harsh-auth-docker.herokuapp.com

Fields For Request are

  • name : Name of the user for registration
  • email : It contains the email of the user
  • password : password should be strong and should contains the ALPHANUMERIC characters
  • age : Age of the user

Fields For Response are

  • msg : Response message after registration
  • User : Contains the user info with activation code and many others fields etc

User Contains the value illustrated below

  • role : check wether the given user is admin or not
  • isVerified : check whether email is verified or not when isVerified is TRUE then email is verified and the activation token becomes empty and ViceVersa
  • id : User ID
  • name
  • email
  • age
  • activationToken : it's a verfication token

API DOMAIN or ADDRESS : https://harsh-auth-docker.herokuapp.com

Email should not be same for registration

when the verification Token or activationToken becomes empty then the email is verified and if it is not empty then email is not verified yet to check the email verifiaction check mail also

Login API

This API contains the login of the user

POST : https://harsh-auth-docker.herokuapp.com/login

Fields For Request are

  • email : It contains the email of the user
  • password : password should be strong and should contains the ALPHANUMERIC characters

Fields For Response are

  • msg : Response message after registration
  • User

User Contains the value illustrated below

  • role
  • isVerified
  • id
  • name
  • email
  • age
  • activationToken

API DOMAIN or ADDRESS : https://harsh-auth-docker.herokuapp.com/login

Resend API

This API sends the activation link for email verification

POST : https://harsh-auth-docker.herokuapp.com/resend

Fields For Request are

  • email : email for verification

Fields For Response are

  • msg : Response message

API DOMAIN or ADDRESS : https://harsh-auth-docker.herokuapp.com/resend

Logout API

This API is for logging out

POST : https://harsh-auth-docker.herokuapp.com/logout

NO FIELDS FOR REQUEST

RESPONSE : It returns the String as a response

API DOMAIN or ADDRESS : https://harsh-auth-docker.herokuapp.com/logout

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.