Skip to content

BW-Subreddit-Predictor-1/BackEnd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BackEnd

API documentation

Base URL (https://subreddit-post.herokuapp.com/)

Auth Routes

Sign Up

Register A User

Method Url: /api/auth/register HTTP Method: POST

  1. Creation/ regiter Flow
#Endpoints #Method #Other
/api/auth/register POST Register

Example:

{
    "FirstName" : "FirstName":,
    "LastName" : "LastName",
    "Email" : "Email",
    "password" : "password"
 }
 
  1. Creation / Login Flow
# Endpoints # Method # Other
/api/auth/login POST Login a User with Token

Example:

{
   "Email" : "Email",
   "password" : "password"
}

  1. User Routes
# Endpoints # Method # Other
/api/user GET Gets a List of Users

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •