https://github.com/royk/java-interview-middleware
https://github.com/royk/java-interview-middleware
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/royk/java-interview-middleware
- Owner: royk
- Created: 2019-03-22T13:52:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-22T13:52:21.000Z (over 7 years ago)
- Last Synced: 2025-10-30T22:31:20.780Z (9 months ago)
- Language: Java
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Java interview task
## Sprint 1
- Make an endpoint (GET /posts) that returns a list of all posts from an endpoint (https://jsonplaceholder.typicode.com/posts)
- Sort results alphabetically by title
- Allow filtering by title with ?title=[substring]
## Sprint 2
- Modify the endpoint to include the user object as part of the post object
e.g.
{
..post data
user: {
..user data
}
}
- users can be loaded from (https://jsonplaceholder.typicode.com/users)
- Add pagination support (?limit=[]&offset=[])