harshit-mehtaa / expensetracker

Expense Tracker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

expensetracker

Expense Tracker

Manage application using docker-compose

Pre-Requisites

  • Environment variable

    Please check individual README.md files under specific app directories
    • Postgres DB

      Create .env.postgres file under db/ directory with the below mentioned properties

      • POSTGRES_USER
      • POSTGRES_PASSWORD
      • POSTGRES_DB
    • PgAdmin UI

      Create .env.pgadmin file under db/ directory with the below mentioned properties

      • PGADMIN_DEFAULT_EMAIL
      • PGADMIN_DEFAULT_PASSWORD
    • Backend

      Create .env.docker-compose file under backend/ directory with the below mentioned properties

      • DATABASE_NAME
      • DATABASE_USER
      • DATABASE_PASSWORDPOSTGRES_PASSWORD>
      • DATABASE_HOST
      • DATABASE_PORT
      • SECRET_KEY
    • Frontend

      Create .env.docker-compose file under frontend/ directory with the below mentioned properties

      • BACKED_HOST
      • BACKEND_PORT

Start application

docker compose up -d

View logs

docker compose logs -t -f

Stop application

docker compose down

About

Expense Tracker


Languages

Language:JavaScript 61.5%Language:Python 35.9%Language:HTML 1.0%Language:Shell 0.8%Language:Dockerfile 0.4%Language:CSS 0.4%