Skip to content

Application for Simulating Dollar Cost Averaging (DCA) Investing Strategy

Notifications You must be signed in to change notification settings

piotrdurniat/dollar-cost-averaging

Repository files navigation

Dollar Cost Averaging App

Demo (dcaapp.net)

Demo available on the dcaapp.net website

Requirements:

Build the app

docker compose build

Run the app

docker compose up

Run Frontend Tests

Go to frontend/ dir:

cd frontend/

Unit tests

Run unit tests:

npm run test

Get the test coverage:

npm run coverage

End-to-end tests

npm run cypress:open

Production

Build

To build frontend app run from root dir:

docker compose -f docker-compose.yml run --rm frontend npm run build

Build docker contaners:

docker compose -f docker-compose.prod.yml build

Run the app

docker compose -f docker-compose.prod.yml up

Load data to the database

Connect to db container:

docker exec -it dca_db mongosh -u <user_name> -p <password>

About

Application for Simulating Dollar Cost Averaging (DCA) Investing Strategy

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published