Skip to content

prakharSrivs/HighonBackend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Repo

Frontend Repo

ROUTES DIAGRAM

diagramWhite

FRONTEND ROUTES DESCRIPTION

/user/login - To render the Login page
/user/signup - To render the signup page
/ - Home Page Showing all the posts
/post/create - To render the Form Page to create a Post \ /feed - To render a detailed view of posts \

BACKEND ROUTES DESCRIPTION

POST - /user/login - To Login the user
POST - /user/signup - To Register the user
GET - /posts/ - To fetch all the post ##DOES NOT REQUIRE AUTH
POST - /post/create - (Middleware Protected) To Create a new Post
POST - /post/like - (Middleware Protected) To Like/Unlike the post \

Image Storage

All the images are stored on the cloudinary server download

Images are uploaded from the Client side and the image URL are then being stored in the Database \

AUTH

Auth sessions signed using JWT 1_9pWUdYPAwCQoWdEnvZli4A

All passwords are HASHED beforing storing in the database using bcrypt \

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages