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://YourUsername:YourPassword@localhost:5432/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/mp9466/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.1.tar.gz (17.1 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.1-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.1.tar.gz.

File metadata

  • Download URL: todo_list_app_mar_pal-0.1.1.tar.gz
  • Upload date:
  • Size: 17.1 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.1.tar.gz
Algorithm Hash digest
SHA256 fdc564e6ffd26df46aa9b8744b0714883654d9f2775030096c3c2330ce19c2ea
MD5 2d5c03e106ac36147979832c03e4e4fc
BLAKE2b-256 5e925220de790ba51edf4a99b8800fac44f619399179db503b441fed6f4ba155

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for todo_list_app_mar_pal-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 69def469edd6d9d5a483fa3864f5b646ff186df5e8657f8afd24bb9d23b8d9a8
MD5 491f2211258044770f5672fb17557669
BLAKE2b-256 96f7f4d8f02eee0786dd51fad4928a033ea9b57c69f64da49ff6d03dbacc8352

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