A full-stack Todo application built with FastAPI and React + Vite.
git clone https://github.com/saed-gpr/fastapi-todo.git
cd fastapi-todopython -m venv venvWindows:
venv\Scripts\activateLinux / macOS:
source venv/bin/activatepip install -r requirements.txtuvicorn app.main:app --reloadBackend will be available at:
http://localhost:8000
API documentation:
http://localhost:8000/docs
Open a new terminal and go to the frontend directory:
cd frontendnpm installnpm run devFrontend will be available at:
http://localhost:5173
Make sure both servers are running:
| Service | URL |
|---|---|
| 🎨 Frontend | http://localhost:5173 |
| ⚡ FastAPI | http://localhost:8000 |
| 📚 API Docs | http://localhost:8000/docs |
Then open:
fastapi-todo/
│
├── app/
│ └── main.py
│
├── frontend/
│ ├── src/
│ ├── public/
│ ├── package.json
│ └── ...
│
├── requirements.txt
└── README.md
- FastAPI
- Python
- SQLAlchemy
- SQLite
- React
- Vite
- JavaScript