/todo-list-sql-uuid-nadee

This project is a FastAPI-based todo list application integrated with SQLAlchemy and Alembic for database management.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

FastAPI Todo List App

This project is a FastAPI-based todo list application integrated with SQLAlchemy and Alembic for database management.

Features

  • 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.

Technologies Used

  • 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.

Getting Started

Clone the repository:

Install dependencies:

  • bash
  • Copy code
  • pip install -r requirements.txt

Set up the database (choose one of the following based on your database choice):

  • SQLite:
  • bash
  • Copy code
  • alembic upgrade head

PostgreSQL/MySQL (replace <database_url> with your database URL):

  • bash
  • Copy code
  • DATABASE_URL=<database_url> alembic upgrade head

Run the application:

  • bash
  • Copy code
  • uvicorn main:app --reload
  • Access the application in your browser at http://localhost:8000.

Usage

  • 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.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request with your enhancements.

License

This project is licensed under the MIT License - see the LICENSE file for details.