Skip to main content

Amplify Project Setup

Initialize amplify project#

Clone the repo, install dependencies

git clone https://github.com/palakgupta2712/lms-app-amplify.git
cd lms-app-amplify
npm install

Initialize amplify project

amplify init
---
Note: It is recommended to run this command from the root of your app directory
? Do you want to use an existing environment? Yes
? Choose the environment you would like to use: master
? Choose your default editor: Visual Studio Code
Using default provider awscloudformation
? Select the authentication method you want to use: AWS profile
? Please choose the profile you want to use: default
โˆš Initialized provider successfully.
---

Congratulations, your project has been successfully initialized and connected to the cloud!

Deploy services#

amplify push

Once all the resources are deployed to the cloud, the src/aws-exports.js file gets created.
To view deployed services, go to amplify console by running the following command:- amplify console

Run the project#

Test your site in the browser:

npm start

Open http://localhost:3000 to view it in the browser.