It is a simple web application for tasks generation 😎 ☀️
- Java 11
- Spring (Boot, MVC, Data)
- PostgreSQL
- jQery, Ajax
CRUD API + /random?taskType={taskType} endpoint:
URI | Method | Description |
---|---|---|
/tasks/{taskId} | GET | Get task by id |
/tasks/ | POST | Add new task |
/tasks/{taskId} | PUT | Modify task by id |
/tasks/{taskId} | PATCH | Merge task by id |
/tasks/{taskId} | DELETE | Delete task by id |
/random?taskType={taskType} | GET | Get random task by task type (exercise or question) |
1. Random Task Generator page:
Generate tasks button generates one question and exercise that are taken from DB randomly
2. Questions page:
Page for adding, modifying and deleting questions
There is in-place editing feature (the PATCH method of REST API was used):
3. Exercises page:
Page for adding, modifying and deleting exercises