Add interior lambda api client and trigger new interiors (#32)

This commit is contained in:
Niklas Fondberg
2021-09-09 13:22:03 +02:00
committed by GitHub
parent fbce7ec879
commit 28d21659de
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -1 +1,4 @@
DATABASE_URL=postgresql://fondberg:@docker.for.mac.localhost/photowall
COGNITO_POOL_ID=eu-west-1_3O4VfvPn7
INTERIOR_TOKEN=
INTERIOR_URL=https://0hrq0zel2h.execute-api.eu-west-1.amazonaws.com/Prod
+1
View File
@@ -43,3 +43,4 @@ Each test is build around inserting fake data in the empty db, fetching that dat
To write new inserts into the DB generate sql files with js in the src/**test**/db_generator tool. Then load the new sql file in the containerSetup.ts file.
When you have the data you need in the db, write tests in all.test.ts file following the pattern already set.