Initialize Application

Create project

Use Create React App to React Web application:

npx create-react-app traveldeals

Switch working directory:

cd traveldeals

Initialize Amplify application

Run this command to initialize a new project and set up deployment resources in the cloud:

amplify init
Note: It is recommended to run this command from the root of your app directory
? Enter a name for the project traveldeals
? Enter a name for the environment dev
? Choose your default editor: Visual Studio Code
? Choose the type of app that you're building javascript
Please tell us about your project
? What javascript framework are you using react
? Source Directory Path:  src
? Distribution Directory Path: build
? Build Command:  npm run-script build
? Start Command: npm run-script start
Using default provider  awscloudformation

For more information on AWS Profiles, see:
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html

? Do you want to use an AWS profile? Yes
? Please choose the profile you want to use default

Project and directory structure are described in details in Set up fullstack project of “Getting started” tutorial.

After deployment complete, you can see application in your Amplify Console:

AWS Amplify Console with no categories set up