Skip to content

hrizi-radhouan/amplify-cognito-quiz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Create a Quiz using AWS Amplify and Cognito (with CI/CD)

This repository contains the commands and code used in this YouTube video.

Terminal Commands

Here are the terminal commands in order of appearance of the video.

npm install -g @aws-amplify/cli

amplify configure

npx create-react-app <name of your app>

cd <name of your app>

amplify init

amplify add auth

amplify push

npm install aws-amplify @aws-amplify/ui-react

npm start

git init

git add .

git commit –m "Initial commit"

git branch –M main

git remote add origin <repository URL>

git push –u origin main

Code Files

  • App.js: The React application that's configured to use Cognito for authentication
  • Quiz.js: The Quiz component
  • quizData.js: The hard-coded questions and answers for the quiz

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%