This is a generic social network application with it's own API and a local database.
- Endpoint: "/login" (POST)
- Create User
- Endpoint: "/users" (POST)
- Get Users
- Endpoint: "/users" (GET)
- Get User by ID
- Endpoint: "/users/{userId}" (GET)
- Update User by ID
- Endpoint: "/users/{userId}" (PUT)
- Delete User by ID
- Endpoint: "/users/{userId}" (DELETE)
- Follow User
- Endpoint: "/users/{userId}/follow" (POST)
- Unfollow User
- Endpoint: "/users/{userId}/unfollow" (POST)
- Get Followers of User
- Endpoint: "/users/{userId}/followers" (GET)
- Get Following Users
- Endpoint: "/users/{userId}/following" (GET)
- Update User Password
- Endpoint: "/users/{userId}/update-password" (POST)
- Create Post
- Endpoint: "/posts" (POST)
- Get Posts
- Endpoint: "/posts" (GET)
- Get Post by ID
- Endpoint: "/posts/{postId}" (GET)
- Update Post by ID
- Endpoint: "/posts/{postId}" (PUT)
- Delete Post by ID
- Endpoint: "/posts/{postId}" (DELETE)
- Get User Posts
- Endpoint: "/users/{userId}/posts" (GET)
- Like Post
- Endpoint: "/posts/{postId}/like" (POST)
- Dislike Post
- Endpoint: "/posts/{postId}/dislike" (POST)