Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 664 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 664 Bytes

Sample Blog API implementation

TODO I did not used DTO aproach(and its annotations) to keep it only with starter dependencies

Testing

Provided Postman sample to simplify testing in blogapi/src/main/resources/BlogAPI.postman_collection.json

Task description

Spring Boot app that provides RESTful API for the blog:

  • Get a collection of posts (paginated, has optional filtering by tags)
  • Create a new post
  • Update (tags only)
  • Delete a post by ID

Post has:

  • A title (required)
  • Content (required)
  • Tags (optional) Posts are stored in the in-memory database. Integration with the database has to be implemented with Spring Data JPA.