AWS Amplify Guide

Here is a step-by-step guide to manage a project in AWS Amplify

Pull <Environment>:

  • amplify pull --appId d132lqaz1b0epz --envName staging

  • Copy auth token from console(opens automatically) and paste in ubuntu.

sampi@IN-CXLPW10030:~$ amplify pull --appId <application_id> --envName staging
		Opening link: https://us-east-1.admin.amplifyapp.com/<>
		✔ Successfully received Amplify Studio tokens.
		Amplify AppID found: <>. Amplify App name is: test-rnd-amp-dynamo
		Backend environment staging found in Amplify Console app: test-rnd-amp-dynamo
		? 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 none
		? Source Directory Path:  /mnt/c/Users/sampada/Desktop/test/amplify
		? Distribution Directory Path: dist
		? Build Command:  npm run-script build
		? Start Command: npm run-script start
		? Do you plan on modifying this backend? Yes
		✔ Successfully pulled backend environment staging from the cloud.
		✅

		Successfully pulled backend environment staging from the cloud.
		Run 'amplify pull' to sync future upstream changes.
  • pull again: amplify pull

Pre-pull status:

			Current Environment: staging

		┌──────────┬───────────────┬───────────┬─────────────────┐
		│ Category │ Resource name │ Operation │ Provider plugin │
		└──────────┴───────────────┴───────────┴─────────────────┘

		✔ Successfully pulled backend environment staging from the cloud.
		✅
		Post-pull status:

			Current Environment: staging

		┌──────────┬───────────────┬───────────┬─────────────────┐
		│ Category │ Resource name │ Operation │ Provider plugin │
  • Add graphql api: amplify add api

Previous
Previous

Docker Local Setup Windows

Next
Next

Add VSCode to path