Description BackEnd Routes
Auth
Route
Method
Description
Status
api/v1/signup
POST
sign up into system.
👍
api/v1/login
POST
log in into system.
👍
api/v1/logout
GET
log out form the system.
👍
Posts
Route
Method
Description
Status
api/v1/feed
GET
Get all posts that user following added.
---
api/v1/explore
GET
Get all posts ordered by date.
---
api/v1/post
POST
Create new post.
---
api/v1/post/:postId
GET
Get a specified post.
---
api/v1/post/:postId
PUT
Update a specified post.
---
api/v1/post/:postId
DELETE
Delete post that have the specified type.
---
api/v1/post/:type
GET
Get posts that have a specified type.
---
api/v1/post?q=
GET
Get posts that have a specified query.
---
Products
Route
Method
Description
Status
api/v1/products
GET
Get all posts that have category products.
👍
Comments
Route
Method
Description
Status
api/v1/posts/:postId/comments
GET
Get all comments for specified post.
👍
api/v1/comment/:commentId
GET
Get a specified comment.
👍
api/v1/comment/:commentId
PUT
Update a specified comment.
👍
api/v1/comment/:commentId
DELETE
Delete a specified comment.
👍
api/v1/comment/
POST
Add a new comment for the specified post.
👍
Like
Route
Method
Description
Status
api/v1/posts/:postId/like
POST
Like a specified post.
👍
Follow
Route
Method
Description
Status
api/v1/follow/:userId
POST
Folow a specified user or unfollow.
👍
Trending
Route
Method
Description
Status
api/v1/trending/products
GET
Get trending products.
👍
api/v1/trending/users
GET
Get trending users.
👍
Users
Route
Method
Description
Status
api/v1/users
GET
Get all users.
👍
api/v1/users/:userId
GET
Get a specified user.
👍
api/v1/users/:userId
PUT
Update a specified user.
👍
api/v1/users/:userId/activation
POST
active or disactive a specified user.
👍
Charts
Route
Method
Description
Status
api/v1/charts
GET
Get all charts data.
👍
categories
Route
Method
Description
Status
api/v1/categories
GET
Get all categories.
👍
api/v1/categories
POST
Add new category.
👍
api/v1/categories/:categoryId
GET
Get a specified category.
👍
api/v1/categories/:categoryId
PUT
Update a specified category.
👍
api/v1/categories/:categoryId
DELETE
Delete a specified category.
👍
messages and notifcations.
These routes are not discussed yet, there are no tables for them untill now. Reactions are currently unavailable
You can’t perform that action at this time.
BackEnd Routes
Auth
api/v1/signupapi/v1/loginapi/v1/logoutPosts
api/v1/feedapi/v1/exploreapi/v1/postapi/v1/post/:postIdapi/v1/post/:postIdapi/v1/post/:postIdapi/v1/post/:typeapi/v1/post?q=Products
api/v1/productsComments
api/v1/posts/:postId/commentsapi/v1/comment/:commentIdapi/v1/comment/:commentIdapi/v1/comment/:commentIdapi/v1/comment/Like
api/v1/posts/:postId/likeFollow
api/v1/follow/:userIdTrending
api/v1/trending/productsapi/v1/trending/usersUsers
api/v1/usersapi/v1/users/:userIdapi/v1/users/:userIdapi/v1/users/:userId/activationCharts
api/v1/chartscategories
api/v1/categoriesapi/v1/categoriesapi/v1/categories/:categoryIdapi/v1/categories/:categoryIdapi/v1/categories/:categoryIdmessages and notifcations.
These routes are not discussed yet, there are no tables for them untill now.