Add endpoints to allow for data to be sent into the database
Description
To populate the database we need API endpoints to allow for event data to be pushed into the app's database.
We need to be able to:
- Create user accounts
- Delete user accounts
- Modify user account data
Further details
We need endpoint(s) that should accept information from a FaaS app.
The API itself is responsible for its interface, so this work effectively defines the interface that the FaaS app will need to make use of.
The endpoint will need to accept all data to populate the current Account
and AccountDetails
models in the database.
We expect to authenticate to this endpoint via GCP internal access only, therefore we will build a separate API image that exposes only these endpoints, and the main production image does not include them.
Task list
Acceptance criteria
-
Endpoints exist to allow for data to be inserted into the database in separate docker image build (built by multi-stage docker builds CI) -
Separate app is deployed alongside public API with internal only access
Links/references
Edited by Mike Knee