This repo contains a todo list web application built with Reflex, a framework for building full-stack web apps in pure Python.
- ✅ Add new todo items
- ✅ Mark todos as complete/incomplete
- ✅ Delete todo items
- ✅ Filter todos (All/Active/Completed)
- ✅ Clear completed todos
- ✅ Real-time updates with Reflex state management
Create and activate the conda environment:
# Create the environment from the file
conda env create -f environment.yml
# Activate it
conda activate reflex
# Install Reflex
pip install reflex# Activate the environment
conda activate reflex
# Run the Reflex todo app
reflex runThe app will be available at:
- Frontend: http://localhost:3000/
- Backend API: http://0.0.0.0:8000
This repo also contains a minimal educational Reflex-like framework in src/reflex_tutorial/ for learning purposes.
Run the original example:
python -m src.reflex_tutorial.app# Test the Reflex todo app
python -m unittest tests.test_todo_app -v
# Test the original framework
python -m unittest tests.test_framework -v
# Run all tests
python -m unittestApp_Reflex/
├── todo_app/
│ ├── todo_app.py # Main Reflex todo application
│ └── __init__.py
├── src/reflex_tutorial/ # Original custom framework (educational)
├── tests/
│ ├── test_todo_app.py # Tests for Reflex todo app
│ └── test_framework.py # Tests for custom framework
├── plans/Plan.md # Project documentation
├── AUDIT.md # Implementation audit
├── environment.yml # Conda environment
├── requirements.txt # Dependencies (includes Reflex)
└── rxconfig.py # Reflex configuration