Users can use this tool to evaluate the impact of different deal mechanics on each share class across a number of investment scenarios.
This project makes use of:
- TypeScript to provide static typing for JavaScript
- Node.js JavaScript runtime environment
- Jest for unit testing
- asdf for tool version management
- direnv to load ENV variables based on the current directory
Clone this repo and run the following:
asdf install
npm install
cd web
npm run dev
Open http://localhost:3000 in your browser.
npm run test
The web app is automatically deployed on GitHub pages using a GitHub Workflow that triggered by pushing to the "main" branch. Workflow configuration details can be found in .github/workflows/build-and-deploy.yml
.
Secrets are stored as ENV variables and should not be committed to this repository. An .envrc.example
file can be committed, and can be used as a template and copied.
cp .envrc.example .envrc
Using your text editor, edit it, changing the proper values.
open .envrc
Any time you update .envrc
you'll need to tell direnv
that the changes you made are safe.
direnv allow .