This is a currently a Trial Service NOT a Live Service
Covid-19 Antibody Test at Home Web Service is a wep based service that will allow registered users to take an at home Covid-19 Antibody test and get a result of whether they test positive or negative for Covid-19 antibodies.
- Registering for a Covid-19 Antibody Test at Home Kit (URL TBC)
The front client for this project was bootstrapped with Create React App. The server side service is hosted on AWS. It is deployed to AWS utilising Github actions the Serverless framework where we deploy the web client to Cloud Front and the server side backend to API Gateway, Lambda function, DynamoDB and S3 to store images.
In the project client directory, you can run:
To install dependent modules.
yarn install
This will also postinstall dependencies in the /lib /client and /serverless folders If you for whatever reason only want to install root dependencies:
yarn install --ignore-scripts
Create your client/.env file - rename example.env -> .env for local development
yarn dev
Runs the front and back end app in development mode. This will run serverless in offline mode, and you will hit localhost endpoints.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
yarn test
This will run front and back-end tests sequentially. Run the same command from the client or serverless folder to run tests independently.
Builds the app for production to the build
folder.
yarn build