npx create-react-app <name> <args>
detect yarn here and use itdo this laternpm install react-admin
detectamplify cli
oraws cli
detect thataws configure
has been run- detect that
@aws-amplify/cli
is installed - detect that
amplify configure
has been run see amplify init
npm install @aws-amplify/core @aws-amplify/api @aws-amplify/auth
npm install react-admin-amplify
amplify add api
- either run
amplify add codegen
oramplify push
to generate graphql files - copy over App.js
if not using AMAZON_COGNITO_USER_POOLS as amplify auth option, app.js boilerplate needs to change
Double check you have installed
- node
@aws-amplify/cli
from npm. Runnpm install -g @aws-amplify/cli
or see the official install page