This project was bootstrapped with Create React App.
This project demostrates a reference design for a Serverless web application. The design uses the following implementations:
- ReactJS & Amplify React SDK: UI/UX
- Cognito: Security (Userpools, Federation via Google, Amazon, Facebook, and SAML)
- Amplify Framework: Development Framework
- Amplify API: API Library
- AppSync (GraphQL API)
- Lambda (Business Logic)
- DynamoDB (Data Storage)
There is a realtime streaming demo built into this application, but you must deploy the supporting features seperately. Once deployed you can view the /Stream resource. This is a React page that is setup to listen to Subscriptions emitted from your AppSync endpoint. You will need to deploy the following features to enable this.
This Cloudformation deployment will require two parameters:
- AppSyncEndpoint: Use the same Endpoint from the previous CloudFormation outputs
- APIKey: Use the same APIKey from the previous CloudFormation outputs
Build & Deploy it!
Once deployed here is your final application architecture:
In the project directory, you can run:
Runs the app in the development mode.
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.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.