Skip to content

i-umairkhan/infogram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

infogram

A full stack social media appllication. Build with node js & react.


API Routes:

1- Auth routes
/auth/register --> to register user
/auth/login --> to login user

2- Users routes
/users/:id --> to find user by id
/users/:id/friends --> to find user friends
/users/:id/:friendId --> to add a friend to a user

3- Posts routes
/posts --> to get all feed posts
/posts/:userId/posts --> to get user posts
/posts/:id/like [ send user id in body ] --> to like a post


Enviroment Variabels:
MONGO_URL='***' (your mongo db url)
PORT=3001
JWT_SECRET='***' (JWT Secret for auth)

About

A full stack social media appllication api.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published