7 simple steps to your app on AWS Amplify Studio

Reza Rezvani
2 min readJan 27, 2023

--

Amazon Web Services (AWS) Amplify Studio is a visual interface that allows you to easily build and ship complete web and mobile apps in very short amount of time and effort. With Amplify Studio, you can quickly build an app backend, create a rich user interface (UI) React components, and connect a UI to the backend is a matter of minutes.

How to start fast?

To create an AWS Amplify Studio app and run it in the dev environment, you can follow these steps:

  1. Install the AWS Amplify CLI by running the command npm install -g @aws-amplify/cli in your terminal.
  2. Run the command amplify init to initialize the Amplify project. You will be prompted to enter information such as the project name and the environment you want to use.
  3. Run the command amplify add codegen to add code generation to your project. This will allow you to generate a front-end for your app based on your backend configuration.
  4. Run the command amplify push to create the backend resources for your app.
  5. Run the command amplify codegen to generate a front-end for your app. You will be prompted to select the type of front-end you want to generate (e.g., React, Angular, etc.).
  6. Run the command amplify serve to start the development server for your app. This will allow you to run the app in a local development environment.
  7. Open your browser, and navigate to http://localhost:3000 to view the app running in the dev environment.

Note: Please make sure you have valid credentials configured on your machine to connect to AWS.

AWS Amplify Studio

How does the command line look like?

Here are the command-line instructions to create an AWS Amplify Studio app and run it in the dev environment:

  • Install the AWS Amplify CLI:
npm install -g @aws-amplify/cli
  • Initialize the Amplify project:
amplify init
  • Add code generation to the project:
amplify add codegen
  • Create the backend resources for the app:
amplify push
  • Generate a front-end for the app:
amplify codegen
  • Start the development server for the app:
amplify serve

Open your browser, and navigate to http://localhost:3000 to view the app running in the dev environment.

Note: Please make sure you have valid credentials configured on your machine to connect to AWS.

Have fun

Cheers,

Reza Rezvani — Jan.2023, Berlin

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Reza Rezvani
Reza Rezvani

Written by Reza Rezvani

As CTO of a Berlin AI MedTech startup, I tackle daily challenges in healthcare tech. With 2 decades in tech, I drive innovations in human motion analysis.

No responses yet

Write a response