Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/slava-yuhymchuk/tasks

DevSecOps course project for Task Management.
https://github.com/slava-yuhymchuk/tasks

argocd aws bash css docker eks flask groovy hcl html jenkins kubernetes openai python slack terraform trivy vpc web webapi

Last synced: 26 days ago
JSON representation

DevSecOps course project for Task Management.

Awesome Lists containing this project

README

        

![image](https://github.com/user-attachments/assets/9c46fc1c-5857-4e6b-a396-3ee231dfe8e4)

## Web UI

- `DEV` : https://tasks-dev.devsecops15.com/
- `PROD` : https://tasks.devsecops15.com/

## API Endpoints

- `GET /tasks` : Return all tasks.
```bash
curl --request GET http://localhost/tasks
```
- `GET /tasks/` : Return specific task by ID.
```bash
curl --request GET http://localhost/tasks/1
```
- `POST /tasks` : Add new task with POST request data. Return newly created task.
```bash
curl --request POST --header "Content-Type: application/json" --data '{"Title":"new title","Details":"new details"}' http://localhost/tasks
```
- `DELETE /tasks/` : Delete specific task by ID. Return deleted task.
```bash
curl --request DELETE http://localhost/tasks/1
```
- `PUT /tasks/` : Update specific task with PUT request data. Return updated task.
```bash
curl --request PUT --header "Content-Type: application/json" --data '{"Title":"updated title","Details":"updated details","Status":"updated status"}' http://localhost/tasks/1
```
- `POST /tasks//done` : Change the status of specific task to "Done". Return completed task.
```bash
curl --request POST http://localhost/tasks/1/done
```
- `POST /tasks/reset` : Start over. Return empty task list.
```bash
curl --request POST http://localhost/tasks/reset
```
- `POST /tasks//ai` : Ask ChatGPT to assist with specific task. ;)
```bash
curl --request POST http://localhost/tasks/2/ai
```