Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Task Management API

A FastAPI application for managing tasks, providing CRUD operations along with smart task suggestions based on task title and completion sequences.

Repository

Hosted on GitHub: https://github.com/Nullpoint56/task-management-api.git

Setup Instructions

  1. Clone the Repository:

    git clone https://github.com/Nullpoint56/task-management-api.git
  2. Create Virtual Environment:

    python -m venv venv
  3. Activate Environment and Install Dependencies:

    • On macOS/Linux:
      source venv/bin/activate
    • On Windows:
      venv\Scripts\activate
    • Install:
      pip install -r requirements.txt
  4. Run the Application:

    uvicorn app.main:app --host 127.0.0.1 --port 8000 --reload

Live API Documentation

For detailed API documentation, once the application is running, visit:

  • Swagger UI for interactive API exploration.
  • ReDoc for a detailed API reference.

Example Requests

Create Task:

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 All Tasks:

GET /tasks/?skip=0&limit=10

Update Task:

PUT /tasks/1
Content-Type: application/json

{
  "title": "Updated Task Title",
  "status": "completed"
}

Delete Task:

DELETE /tasks/1

Get Task Suggestions:

GET /tasks/suggestions/

About

Simple task management API for a job application.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages