gsans / aws-amplify-workshop-ui-angular-solution

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AmplifyApp

This project was generated with Angular CLI version 10.0.5.

Deploy with a single click

The AWS Amplify Console provides hosting for fullstack serverless web apps. Learn more. Deploy this app to your AWS account with a single click:

amplifybutton

The Amplify Console will fork this repo in your GitHub account, and then build and deploy your backend and frontend in a single workflow. Your app will be available at https://master.APPID.amplifyapp.com.

Run locally with the Amplify CLI

  1. Install and configure the Amplify CLI
  npm install -g @aws-amplify/cli
  amplify configure
  1. Install and configure the Amplify CLI
  amplify init --app https://github.com/gsans/aws-amplify-workshop-ui-angular-solution

The init command clones the GitHub repo, initializes the CLI, creates a ‘devone’ environment in CLI, detects and adds categories, provisions the backend, pushes the changes to the cloud, and starts the app.

  1. Provisioning the frontend and backend

Once the process is complete, the CLI will automatically open the app in your default browser.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

About


Languages

Language:TypeScript 74.1%Language:CSS 13.8%Language:HTML 6.3%Language:JavaScript 5.8%