How arpita-venkat8/wave-watch-frontend works
This is a Wave Watch coastal-hazard monitoring application built on an Amplify React starter. Its user flow is role selection and sign-in, role verification, then a dashboard for coastal reports and correlation results; the dashboard excerpt also shows report submission and photo upload behavior. The README documents Cognito authentication, a GraphQL API, and DynamoDB, while the sampled data schema still defines a generic Todo model. App internals and their backend request wiring are only partially excerpted, so those connections are not inferred.
Main entry points: backend.ts Backend composition · main.tsx Role and sign-in portal · App.tsx Hazard dashboard · resource.ts Data API schema
Components 11
Web application
- Role and sign-in portal
src/main.tsx - Hazard dashboard
src/App.tsx - Hazard reports
src/App.tsx - Incident correlation
src/App.tsx
Identity
- Email authentication
amplify/auth/resource.ts
Amplify backend
- Backend composition
amplify/backend.ts - Data API schema
amplify/data/resource.ts
Other components
- Citizen or admin
- Amazon Cognito
- AWS AppSync API
- Amazon DynamoDB
Connections 8
- Citizen or admin → Role and sign-in portal: chooses role
src/main.tsx - Role and sign-in portal → Amazon Cognito: authenticates with
README.md - Role and sign-in portal → Hazard dashboard: renders after verification
src/main.tsx - Hazard dashboard → Amazon Cognito: checks session
src/App.tsx - Backend composition → Email authentication: registers
amplify/backend.ts - Backend composition → Data API schema: registers
amplify/backend.ts - Backend composition → AWS AppSync API: provides GraphQL API
README.md - Data API schema → Amazon DynamoDB: configures database
README.md