This commit is contained in:
Kiara Grouwstra 2021-10-03 22:24:39 +02:00
parent 644df861f0
commit ade51d9577
1 changed files with 11 additions and 3 deletions

View File

@ -1,6 +1,12 @@
BIJ1 Compliance Facilitator App
===============================
### Prerequisites
- [Yarn](https://yarnpkg.com/)
### Usage
`yarn install` installs the dependencies
set the API keys for [AirTable](https://airtable.com/account) and [Mollie](https://www.mollie.com/dashboard/org_3678554/developers/api-keys):
@ -13,8 +19,10 @@ export MOLLIE_API_KEY_SHOP=<MY_KEY>
export MOLLIE_API_KEY_DONEER=<MY_KEY>
```
`npm start` launches the app
`yarn start` launches the app
`npm run test` launches the tests (using JSHint and Jest)
`yarn run test` launches the tests (using JSHint and Jest)
`npm run dev` watches src/ for changes and runs test when anything does change
`yarn run dev` watches src/ for changes and runs test when anything does change
$(yarn bin)/jest -- tests/mollie.test.js