This App is designed to mimic Twitter (now X) functions, so it have the ability to registering and login, post a tweet, also follow and unfollow users.
- Endpoint:
/auth/register
- Method: POST
- Description: Register a new user.
- Endpoint:
/auth/login
- Method: POST
- Description: Authenticate and log in as a registered user.
- Endpoint:
/tweet
- Method: POST
- Description: Post a new tweet.
- Endpoint:
/follow
- Method: POST
- Description: Follow or Unfollow other users.
- Endpoint:
/user
- Method: GET
- Description: View user profile (username, userID, following, followers, recent tweets).