Simple CRUD REST service for Tasks
Tech stack: Java 17, Spring Boot WEB, Spring Boot JPA, DataBase - PostgreSQL, Kafka
Task entity:
Task(id, title, description,userId)
End-Points:
- POST /tasks — create a new Task
- GET /tasks/{id} — get Task by ID.
- PUT /tasks/{id} — update Task.
- DELETE /tasks/{id} — delete Task by ID.
- GET /tasks — get all Tasks.
Usage:
Firstly launch docker-compose.yml file from the project root folder.
Build a jar file with command:
mvn clean install
Launch jar file with command via terminal:
${JAVA_HOME}\java.exe -jar ${work_dir}\target\task-service-0.0.1-SNAPSHOT.jar
Java: 17
Maven: 3