Coder Social home page Coder Social logo

erankitcs / aws_appsync_quizapp Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 463 KB

This project is created to build a quiz app based on AWS App Sync and DynamoDB

License: MIT License

HCL 18.73% HTML 4.87% CSS 1.18% JavaScript 75.14% Shell 0.08%
aws-appsync-quizapp dynamodb quiz graphql appsync-graphql-api aws awsamplify terraform react

aws_appsync_quizapp's Introduction

AWS_AppSync_QuizApp

This project is created to build a quiz app based on AWS App Sync and DynamoDB

Setup

  1. Check node version: node -v should be more than v8.12

  2. Install Amplify npm install -g @aws-amplify/cli

  3. Check Amplify which amplify

  4. Launch Amplify amplify

Frontend App

  1. npx create-react-app quizbiz

  2. cd quizbiz

  3. npm add lodash async-retry semantic-ui-css semantic-ui-react aws-amplify aws-amplify-react

  4. npm run start

or Simply download the git hub code and run npm install

Apmplify Setup

  1. cd quizbiz
  2. amplify init
  3. amplify status
  4. amplify hosting add
  5. amplify publish

API setup

  1. 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.
  2. amplify push
  3. amplify publish

Auth Setup

  1. amplify auth add
  2. amplify push

Refresh API to use Auth

  1. amplify api update

Add Auth into Application

  1. comment out src/App.js file part export default App;
  2. Uncomment src/App.js file part export default withAuthenticator(App);

Terraform to create AppSync and DynamoDB

  1. cd appsync_terraform
  2. terraform init
  3. terraform plan
  4. terraform apply
  5. Test AppSync in Front end using test_queries.graphql

Architecture

Screenshot

Video Demo

![Watch the video]

aws_appsync_quizapp's People

Contributors

erankitcs avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.