Skip to content

alloy77/todo_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

βœ… Todo App β€” FastAPI + Streamlit + SQLite

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

πŸ“Œ Features

  • 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

πŸ§‘β€πŸ’» How to Run (Without Docker)

1. πŸ“¦ Install dependencies

Create a virtual environment (optional but recommended):

python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install -r requirements.txt

2. ▢️ Run the FastAPI server

uvicorn app.main:app --reload

3. πŸ–₯️ Run the Streamlit UI

streamlit run ui.py

UI available at: http://localhost:8501

🐳 How to Run with Docker

1. πŸ”¨ Build the Docker image

docker build -t todo-app .

2. ▢️ Run the container

docker run -p 8000:8000 -p 8501:8501 todo-app

About

Keploy Session 2 assignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published