Skip to content

prakharSrivs/GoSocial-backend

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

Backend for GoSocial written NodeJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published