Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 561 Bytes

File metadata and controls

28 lines (22 loc) · 561 Bytes

FastAPI To-Do App

This is a simple CRUD API built with FastAPI, SQLAlchemy, and PostgreSQL.

Features

  • Create, Read, Update, and Delete to-do items
  • PostgreSQL for persistent storage
  • Auto-generated docs at /docs

Setup Instructions

  1. Clone the repo

  2. Install dependencies:

    pip install -r requirements.txt
  3. Create a .env file:

    DATABASE_URL=postgresql://postgres:YOURPWD@localhost:PORTNO/todolistdb
    
  4. Run the server:

    uvicorn main:app --reload

License

MIT