This project is a FastAPI-based todo list application integrated with SQLAlchemy and Alembic for database management.
- CRUD Operations: Create, read, update, and delete tasks in the todo list.
- Database Management: Uses SQLAlchemy ORM for interacting with the database.
- Database Migrations: Alembic is utilized for database schema migrations.
- FastAPI: Backend framework for RESTful APIs.
- SQLAlchemy: ORM for database operations.
- Alembic: Database migration tool.
- SQLite/PostgreSQL/MySQL: Database backend (choose based on your preference).
- HTML/CSS: Frontend for user interface.
- JavaScript: Frontend for interactive features.
- bash
- Copy code
- git clone https://github.com/Nadee-Tharuka/fastapi-todo-list.git
- bash
- Copy code
- pip install -r requirements.txt
- SQLite:
- bash
- Copy code
- alembic upgrade head
- bash
- Copy code
- DATABASE_URL=<database_url> alembic upgrade head
- bash
- Copy code
- uvicorn main:app --reload
- Access the application in your browser at http://localhost:8000.
- Create a new task by entering the task details and clicking 'Add Task'.
- View, update, or delete tasks in the todo list using the provided options.
Contributions are welcome! Please fork the repository and submit a pull request with your enhancements.
This project is licensed under the MIT License - see the LICENSE file for details.