Skip to content

FastAPI-based To-Do list API with MongoDB, offering CRUD operations. Simple, efficient task management for your projects.

License

Notifications You must be signed in to change notification settings

badalk121/Todo_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To-Do List API

This is a simple To-Do list API built using FastAPI framework with MongoDB Atlas as the database. It provides endpoints to perform CRUD operations on To-Do items.

Installation

  1. Clone the repository:

git clone https://github.com/badalk121/Todo_API.git

  1. Install the dependencies:

pip install -r requirements.txt

Configuration

Before running the API, make sure to set up the MongoDB Atlas connection URL, username, and password in the config.py file.

Usage

  1. Start the server:

uvicorn main:app --reload

  1. Once the server is running, you can access the API documentation at http://127.0.0.1:8000/docs.

  2. Use the API endpoints to manage your To-Do list:

    • POST /todos/: Create a new todo.
    • GET /todos/{todo_id}: Retrieve a todo by ID.
    • Implement other CRUD functionalities similarly.

About

FastAPI-based To-Do list API with MongoDB, offering CRUD operations. Simple, efficient task management for your projects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages