This project is created to build a quiz app based on AWS App Sync and DynamoDB
-
Check node version:
node -v
should be more than v8.12 -
Install Amplify
npm install -g @aws-amplify/cli
-
Check Amplify
which amplify
-
Launch Amplify
amplify
-
npx create-react-app quizbiz
-
cd quizbiz
-
npm add lodash async-retry semantic-ui-css semantic-ui-react aws-amplify aws-amplify-react
-
npm run start
or
Simply download the git hub code and run npm install
- cd quizbiz
- amplify init
- amplify status
- amplify hosting add
- amplify publish
- amplify api add
- please select Do you want to configure advanced settings for the GraphQL API Yes and then in further question provide schema file name with path.
- amplify push
- amplify publish
- amplify auth add
- amplify push
- amplify api update
- comment out
src/App.js
file partexport default App;
- Uncomment
src/App.js
file partexport default withAuthenticator(App);
- cd appsync_terraform
- terraform init
- terraform plan
- terraform apply
- Test AppSync in Front end using test_queries.graphql