Skip to content

Latest commit

 

History

History
78 lines (46 loc) · 1.06 KB

File metadata and controls

78 lines (46 loc) · 1.06 KB

Setup for Recreation or Cloning

Run Using Docker

Make sure Docker Desktop is installed and running.

Clone the repository:

git clone https://github.com/agcbls49/mahal.git
cd mahal

Start the application:

docker compose up --build

The application will be available at:

Frontend:
http://localhost:3000

Backend:
http://localhost:4000/transactions

Environment Variables

Local Development (Without Docker)

If running the project locally without Docker, create the following environment files.

Backend:

Create:

backend/.env

Add your local PostgreSQL database connection values.

Frontend:

Create:

frontend/.env.local

Use the values from:

frontend/.env.example

Docker Setup

When running with Docker Compose, the backend database configuration is provided automatically through compose.yml.

No additional backend .env setup is required for Docker.

Stop the Containers

docker compose down

Rebuild After Changes

docker compose up --build