This project is a full-stack Todo application built as part of the Keploy Session 2 Assignment. It features:
- π FastAPI backend with custom REST APIs
- π₯οΈ Streamlit frontend for interacting with todos
- πΎ SQLite database using SQLAlchemy ORM
- π³ Docker support for easy deployment and testing
- Add, update, delete todos
- Mark todos as complete/incomplete
- Real-time UI using Streamlit
- SQLite for persistent storage
- REST API powered by FastAPI
- Dockerized for easy portability
Create a virtual environment (optional but recommended):
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txtuvicorn app.main:app --reloadstreamlit run ui.pyUI available at: http://localhost:8501
docker build -t todo-app .docker run -p 8000:8000 -p 8501:8501 todo-app-
FastAPI API: http://localhost:8000/docs
-
Streamlit UI: http://localhost:8501