A FastAPI application for managing tasks, providing CRUD operations along with smart task suggestions based on task title and completion sequences.
Hosted on GitHub: https://github.com/Nullpoint56/task-management-api.git
-
Clone the Repository:
git clone https://github.com/Nullpoint56/task-management-api.git
-
Create Virtual Environment:
python -m venv venv
-
Activate Environment and Install Dependencies:
- On macOS/Linux:
source venv/bin/activate - On Windows:
venv\Scripts\activate
- Install:
pip install -r requirements.txt
- On macOS/Linux:
-
Run the Application:
uvicorn app.main:app --host 127.0.0.1 --port 8000 --reload
For detailed API documentation, once the application is running, visit:
- Swagger UI for interactive API exploration.
- ReDoc for a detailed API reference.
POST /tasks/
Content-Type: application/json
{
"title": "Complete Project Report",
"description": "Finalize the report details for Project A",
"due_date": "2023-11-15T12:00:00Z",
"status": "pending"
}GET /tasks/?skip=0&limit=10PUT /tasks/1
Content-Type: application/json
{
"title": "Updated Task Title",
"status": "completed"
}DELETE /tasks/1GET /tasks/suggestions/