This is a simple CRUD API built with FastAPI, SQLAlchemy, and PostgreSQL.
- Create, Read, Update, and Delete to-do items
- PostgreSQL for persistent storage
- Auto-generated docs at
/docs
-
Clone the repo
-
Install dependencies:
pip install -r requirements.txt
-
Create a
.envfile:DATABASE_URL=postgresql://postgres:YOURPWD@localhost:PORTNO/todolistdb -
Run the server:
uvicorn main:app --reload
MIT