From 28d21659de5334e4c8e2692dd661302c88df5185 Mon Sep 17 00:00:00 2001 From: Niklas Fondberg Date: Thu, 9 Sep 2021 13:22:03 +0200 Subject: [PATCH] Add interior lambda api client and trigger new interiors (#32) --- .env.example | 3 +++ README.md | 1 + 2 files changed, 4 insertions(+) diff --git a/.env.example b/.env.example index e17dc4c..d5448a7 100644 --- a/.env.example +++ b/.env.example @@ -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 diff --git a/README.md b/README.md index 07e947f..188575a 100644 --- a/README.md +++ b/README.md @@ -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. +