Skip to content

Database Schema

siddharthakonakanchi edited this page Dec 5, 2017 · 13 revisions

Index

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

##desc

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

##table Table Name: users

Table structure

Key Description Type Required

| email | Email ID of the user | String | Yes |

| password | Encrypted password | String | Yes |

UserManual

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

#packages

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 [link]https://jwt.io/introduction/

Clone this wiki locally