Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 915 Bytes

File metadata and controls

33 lines (20 loc) · 915 Bytes

fb-submitter

CircleCI

API for services built and deployed on Form Builder to send the user data to where it ultimately needs to go.

Running tests

Docker is a prerequisite for running the tests

make spec

Deployment

Continuous Integration (CI) is enabled on this project via CircleCI.

On merge to main tests are executed and if green deployed to the test environment. This build can then be promoted to production

## Submission Payload Schema

schemas/submission_payload.json is the schema for the decrypted submission. The request object should take the form:

{
  encrypted_submission: 'WTq8zYcZfaWVvMncigHqwQ=='
}

Once decrypted the submission is validated against the schema before being re-encrypted and saved in the DB.