A clean and colorful to-do list web app built with React, FastAPI, and SQLite.
This project is a simple task management app that allows you to:
- Add new tasks
- Mark tasks as completed or pending
- Edit and delete tasks
- Filter tasks by status
- Sort tasks by newest or oldest
- Toggle between light and dark mode
- Frontend: React (Create React App)
- Backend: FastAPI
- Database: SQLite
- API: REST endpoints for tasks
frontend/- React application source codebackend/- FastAPI server code and dependencies
- Open a terminal and navigate to the backend folder:
cd backend - Create and activate a Python virtual environment:
python -m venv venv venv\Scripts\activate
- Install required Python packages:
pip install -r requirements.txt
- Start the backend server:
uvicorn main:app --reload
- The backend will run at
http://127.0.0.1:8000.
- Open a terminal and navigate to the frontend folder:
cd frontend - Install frontend dependencies:
npm install
- Start the React development server:
npm start
- The frontend will open at
http://localhost:3000.
- Launch the backend server first.
- Then start the React frontend.
- Use the app to create, complete, edit, delete, filter, and sort your tasks.
The app is deployed on Vercel. You can access the live version at: https://to-do-list-rouge-six-65.vercel.app/
- Frontend: Deployed using Vercel for static hosting.
- Backend: The backend is currently set up for local development. For production deployment, consider platforms like Heroku, Railway, or Azure App Service.
- Make sure the backend server is running before using the frontend so API requests can connect successfully.
- The app currently uses a local SQLite database for task storage.
Enjoy building and customizing your to-do list! 🚀