https://github.com/are-you-serat/todo-api
Typical to-do list api written in fastapi
https://github.com/are-you-serat/todo-api
api api-rest crud fastapi
Last synced: 2 days ago
JSON representation
Typical to-do list api written in fastapi
- Host: GitHub
- URL: https://github.com/are-you-serat/todo-api
- Owner: are-you-serat
- Created: 2025-01-02T23:06:11.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-03T00:52:11.000Z (over 1 year ago)
- Last Synced: 2025-09-04T10:14:11.425Z (10 months ago)
- Topics: api, api-rest, crud, fastapi
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Todo-API
Typical to-do list api written in fastapi
This api uses postgresql, but you can change this in the code. This API implements functions such as:
1) create_task
2) get_tasks
3) get_task_by_id
4) delete_task_by_id
5) get_tasks_by_categories
6) update_task_status
To see what each function does, simply run the api on localhost and read the swagger documentation.
# Installation
1) Clone repo
2) Install the dependencies with the command ```pip install -r requirements.txt```
3) Go to the directory with api.py with the command ```cd fastapi```
4) Run ```fastapi dev api.py```.