https://github.com/mahdadghasemian/serverless-react-tutorial-project
An amplify example to work with 'aws cognito' inside the serverless-tutorial-project project
https://github.com/mahdadghasemian/serverless-react-tutorial-project
Last synced: 2 months ago
JSON representation
An amplify example to work with 'aws cognito' inside the serverless-tutorial-project project
- Host: GitHub
- URL: https://github.com/mahdadghasemian/serverless-react-tutorial-project
- Owner: MahdadGhasemian
- Created: 2023-12-11T13:26:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-11T13:45:40.000Z (over 1 year ago)
- Last Synced: 2025-02-04T16:14:48.206Z (4 months ago)
- Language: JavaScript
- Size: 375 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# serverless-react-tutorial-project
# How to run this project
- npm i
- npm start# How to create an amplify App
## Setup Amplify Cli
[Document Config](https://docs.amplify.aws/javascript/tools/cli/start/set-up-cli/)
[Document Initialize](https://docs.amplify.aws/javascript/tools/cli/start/key-workflows/#initialize-new-project)- npm i -g @aws-amplify/cli
- npx create-react-app amplify-react-app
- cd amplify-react-app/
- amplify configure
- amplify init## Setup Amplify Auth
[Document](https://docs.amplify.aws/javascript/build-a-backend/auth/set-up-auth/)- amplify add auth
- amplify push
- npm install aws-amplify @aws-amplify/ui-react --save
- edit src/App.js
- npm start## Setup Amplify GraphQL API
[Document](https://docs.amplify.aws/javascript/build-a-backend/graphqlapi/set-up-graphql-api/)- amplify add api
- amplify push -y
- npm install aws-amplify --save
- edit src/App.js