Skip to content

Login Page Documentation

siddharthakonakanchi edited this page Dec 5, 2017 · 1 revision

Index

  1. Description
  2. API Calls
  3. Data Base Details
  4. User Manual
  5. Packages Used

Description

This page enables the user to login to the Gator MeetUp Page

API

This is a POST method which tests for user name and password and redirects to the gator meetup page upon login

Endpoint
/users/login
Method
GET  
Fields
Key Description Type Required
email Email Id of user String Yes
password User's password String Yes
Response

Status codes: 200,400,501
Example:
code: 200 OK

Tables

Table Name: users

Table structure

Key Description Type Required
email Email Id of user String Yes
password User's password String Yes

Manual

  1. Input User Email Address and Password minimum of 6 length.
  2. Click on Login Button

Packages Used

JSON Web Token

In order to transport the password securely from the forms to backend Jsonwebtoken for auth token is being used

JSON Web Token (JWT) is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. This information can be verified and trusted because it is digitally signed. JWTs can be signed using a secret (with the HMAC algorithm) or a public/private key pair using RSA.

More information can be obtained from https://jwt.io/introduction/

Clone this wiki locally