Skip to main content

A todo list app

Project description

To-Do List App

Database Setup

  1. Install PostgreSQL and create a new database:

    sudo apt-get install postgresql postgresql-contrib
    sudo -u postgres createdb todo_db
    
  2. Create a .env file in the backend directory with the following content:

    DATABASE_URL=postgresql://username:password@localhost/todo_db
    SECRET_KEY=your_secret_key
    
  3. Apply database migrations using Alembic:

    cd backend
    alembic upgrade head
    

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/todo-list-app.git
    cd todo-list-app
    
  2. Create and activate a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
    
  3. Install the backend package:

    cd backend
    pip install .
    

Running the Application

  1. Start the backend server:

    cd backend
    uvicorn main:app --reload
    
  2. Open the index.html file in your web browser.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

todo_list_app_mar_pal-0.1.0.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

todo_list_app_mar_pal-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file todo_list_app_mar_pal-0.1.0.tar.gz.

File metadata

  • Download URL: todo_list_app_mar_pal-0.1.0.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for todo_list_app_mar_pal-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2f26f1faecf26bb745c0393171a790a4028555f7fa64399466378d919c0906e0
MD5 86f056808de4e554f4c619466a0f9385
BLAKE2b-256 4ee227ef58ab5b2bb4c68519741db8fc062146415fc59de4e193670b6fe9acf2

See more details on using hashes here.

File details

Details for the file todo_list_app_mar_pal-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for todo_list_app_mar_pal-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 db9dfab898e1c96845ba26099826a10477f325f42fe26f7c46c5c3b9440e57da
MD5 a03f5363343311586a8e43f63710ec7f
BLAKE2b-256 d9bd5abe8ae6b8d83f4ab80ca5c59f62e2f0f040c3d04bde081c74a80aee07f3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page