Technical background. Production and Staging environments.
The Admin dashboard is a React app that is being served from an Amazon S3 bucket. It realies heavily on AWS Amplify Library for communicating with all the other AWS services.
For our development proccess we target completely independent Production and Staging environments with as identical setups as possible. For the React app we have 2 independent Amazon S3 buckets, each of them with a CloudFront distribution associated. Each of the apps communicate with separate backend entities in each AWS service (different database, different cognito user pool, etc.), this is discussed in detail in the backend overview.
The AWS API Gateway provides an API interface for all parts to communicate with each other. The pod servers will periodically send post requests to the API Gateway with the sensor data, the admin dashboard will fetch data from the