Skip to content

impactMarket/backend

Repository files navigation

impactMarket leverages Web3 to provide accessible financial solutions, including Unconditional Basic Income, the crypto wallet Libera, Microcredit, and Learn and Earn, empowering financially unserved and underserved people around the world.

Getting started

Use the package manager yarn to install dependencies.

Run API

  1. Config .env
  2. Install dependencies (yarn at root folder)
  3. From packages/api run docker compose up (you will need docker)
  4. From the root folder, run sequelize migrations with NODE_ENV=test API_ENVIRONMENT=development ./release-tasks.sh (Using NODE_ENV=test avoid running updates the first time, potentially causing breaks)
  5. yarn dev

Run Test

  1. Config .env.test in each folder
  2. Run steps 2. and 3. from "Run API" if you haven't yet
  3. From root run yarn test

See PERFORMANCE.md to learn more about load tests.

Sponsors

A really big thank you to AppSignal for sponsoring us. AppSignal is "No-brainer monitoring for smart developers."

Troubleshooting

lipq node-gyp issue - ValueError: invalid mode: 'rU' while trying to load binding.gyp

See nodejs/node-gyp#2219 (comment)

License

Apache-2.0