This is an application to manage posts from public API https://jsonplaceholder.typicode.com/posts
- Java: 11
- Database: H2
- Build automation tool: Apache Maven
- Spring Boot starter version: 2.4.5
- UI framework: Thymeleaf
{
"userId": 1,
"id": 1,
"title": "sunt aut facere optio reprehenderit",
"body": "quia et su autem sunt rem eveniet architecto"
}
Things you can do with PostManager:
- Fetch posts from public API
- Show list of posts except userId
- Edit selected post's title or/and body (validating input text)
- Filter list by title
- Delete a selected post
- Regular updating of data (every 24 hours)
- Data can be updated on demand by clicking button
- Build the project using
mvn verify
- Run
mvn spring-boot:run
to quickly compile and run an application - Web application is accessible by homepage ⬇️
http://localhost:8080
GET
all elements - localhost:8080/getAll
GET
element by id - localhost:8080/{id}
PUT
edit title and body by id with a JSON body - localhost:8080/{id}
DELETE
delete post by id - localhost:8080/{id}
GET
filter list by keyword in title - localhost:8080/filter/{keyword}