basic readme

This commit is contained in:
Robin Appelman 2020-11-29 22:14:50 +01:00
commit 50c3e24fe5
3 changed files with 20 additions and 3 deletions

13
README.md Normal file
View file

@ -0,0 +1,13 @@
# api-test
Test suite for demos.tf api
## Usage
Start the test with the following environment variables
- `DB_URL` - [sqlx](https://github.com/launchbadge/sqlx) database url for the database used by the api
- `BASE_URL` - base url for the api
- `EDIT_KEY` - edit key for the api
Note that the test suite is destructive, all data saved in the database will be wiped for each test run.