Skip to content

crey93/api-task-management

Repository files navigation

api-task-management

Description

API for task management, create and read all the tasks.

Getting Started

By IDE bulding and running:

./gradlew clean build
./gradlew bootRun

NOTE: You should have a mongo db instance running on your machine, the next option creates a mongo db instance for you.

By using docker compose

docker-compose up -d

You will see the API working on http://localhost:8080

API Documentation

You can see the API documentation on http://localhost:8080/swagger-ui.html

Request examples

Create a task

curl --location 'localhost:8080/api/v1/task/create' \
--header 'Content-Type: application/json' \
--data '{
    "title":"Task1",
    "description":"the description",
    "dueDate":"2024-06-26",
    "tags":["a","b", "c"]
}'

Get all tasks

curl --location 'localhost:8080/api/v1/task/get-all'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors