-
packages/
Individual sub-projectsapi/
Our backend API Server (NestJS)app/
Our frontend app (NextJS)contracts/
Smart Contracts and Testsops/
Scripts for operational tasks
-
spikes/
Any POC or research we do
- If you only want to work on the contracts, you don't need to setup the whole project.
Please go directly to
contracts/
and follow the instructions there.
- NodeJS LTS (v20) (install node.js)
- Yarn (install yarn)
- Foundry (install forge)
- Docker (install docker)
- Supabase CLI (install the cli)
- Hint: choose a native client for your platform instead of the npm package
yarn install
- Setup environment variables in each package
cp -n .env.sample .env cd packages/api && cp -n .env.sample .env && cd - cd packages/app && cp -n .env.local.sample .env.local && cd - cd packages/contracts && cp -n .env.sample .env && cd - cd packages/ops && cp -n .env.sample .env && cd - cd packages/sdk && cp -n .env.sample .env && cd -
- Start the database (Supabase)
cd packages/api && supabase start && cd -
- Setup sdk, see sdk/README.md
- Setup op scripts, see operations/README.md.
After completing the above setup, simply run:
# test all packages
yarn test
# run all packages
yarn dev
For subscribing to notifications of interest from the GitHub repository. This is covered in detail here.
-
Install the GitHub app within your Slack Workspace using this link.
-
Connect your Slack & GitHub accounts as per instructions (it's time-limited).
-
Setup your GitHub subscriptions as desired. For example, to receive notifications for Issue and Pull Request changes, for
credbull-defi
, enter the following in the GitHub app:/github credbull/credbull-defi unsubscribe commits releases deployments
-
Tune your notifications to taste and enjoy the plethora of information at your fingertips!