- Build APIs for a social media platform in either NodeJS or Python
- The API should support features like getting a user profile, follow a user, upload a post, delete a post, like a post, unlike a liked post, and comment on a post, create a user
- Design the database schema and implement in PostgreSQL or MongoDB
- NodeJS, Express, MongoDB
- jsonwebtoken, @sendgrid/mail, bcryptjs, validator, dotenv
-
GET:
-
/api/user/
-
/api/user/authenticate
-
/api/posts/
-
/api/posts/:id
-
/test
-
-
POST:
-
/api/posts
-
/api/user
-
-
PUT:
-
/api/posts/like/:id
-
/api/posts/unlike/:id
-
/api/comment/:id
-
/api/user/follow/:id
-
/api/unfollow/:id
-
-
DELETE:
- /api/posts/:id
- git clone <"project-link">
- npm i
- npm run dev