Hackathon entry for the Auth0 Hackathon 2020.
COVID Watch is an application designed to help employers and school adminstrators keep track of the testing, quarantines, and vaccinations of their employees/students. The application provides a portal for users to enter health check information, start a quarantine, enter testing results, and provide vaccination information. This information can then be accessed by an organization manager who is able to see the status of all users to protect the organization from outbreaks.
The application is based on React Native/Expo and utilizes TypeScript and the Apollo GraphQL client to access information provided by the AWS AppSync API.
All backend resources are orchestrated by AWS Amplify including the database, user authentication, and API. The GraphQL Codegen is used to automatically generate types and queries based on GraphQL query, mutation, and fragment files in the /graphql
directory.
Authentication is preformed by the aws-amplify
NPM package, which provides nice APIs to access user credentials and authentication state.
git clone https://github.com/Hardline-Software/covid-watch.git
yarn install && expo install
Install the AWS Amplify CLI
npm install -g @aws-amplify/cli
Configure the Amplify CLI
amplify configure
Initialize the Amplify Project
amplify init
Push Respources to the cloud
amplify push
yarn start
Starts the dev server and generates GraphQL queries/mutations for TypeScript.
Runs the app in an android emulator.
Runs the app in the iOS emulator.
Generates type definitions, queries, and mutations for TypeScript.