A website that provides variety of tools for personal long-term investment.
- node.js 20+
- yarn
- Docker
- Go 1.21+
Run make setup
for setting up codebase
We use Firebase for user authentication and Firestore for storage (NoSQL).
Here we need to create a firebase project for this project.
We use Sentry for performance monitoring and error tracking.
We need to have two sentry project for website and backend each.
You need to fill environment variables in web/.env
to start the website for development
For firebase config, fill in variables with prefix APP_FIREBASE
.
For Sentry config, fill in DSN in APP_SENTRY_DSN
.
You need to fill environment variables in backend/.env
to start the backend server for development
- Get Firebase adminSDK credentials file from firebase console. Reference
- Specify where you put the credentials file in variable
FIREBASE_ADMIN_SDK_CREDENTIALS_FILE
in.env
. Or you may use the default file path. - Update the firestore rules by replacing with the rules here
For Sentry config, fill in DSN in SENTRY_DSN
.
We use golangci-lint for linter. If you want to run linter on local machine. Please follow this link for installation. If you are using docker for development, then no need to install the linter in your machine
make dev
Before committing the code, run format and linter first and fix the issues:
make format
make lint
Please refer to development section for website and backend for non-Docker development