This project is a task management system developed using FastAPI as the API framework and SQLAlchemy for database management. It’s designed to be flexible and user-friendly, with a professional structure and modern technologies to ensure high performance and easy maintenance.
- Add Tasks: Add new tasks with multiple properties.
- Update Tasks: Support for updating task information through a dedicated API.
- Delete Tasks: Remove unwanted tasks from the database.
- View Tasks: Retrieve a list of available tasks with detailed information.
To run the project, the following requirements are needed:
- Python 3.7 or higher
- Python libraries:
- FastAPI
- SQLAlchemy
- Pydantic
Install the required packages using requirements.txt
(if available):
pip install -r requirements.txt
-
First, initialize the database by running the following command:
# Database initialization command python init_db.py
-
Start the server with this command:
uvicorn main:app --reload
-
Access the interactive API documentation at:
http://127.0.0.1:8000/docs
main.py
: The main application entry point.db/database.py
: Database connection settings.app/models/
: Contains database models.app/schemas/
: Contains the schemas used in the API.
Contributions are welcome! Please open a pull request with your proposed changes. Ensure that all modifications adhere to the project's guidelines.
This project is licensed under the MIT License.