Skip to content

google-pay/angular-store

Repository files navigation

Sample Angular T-Shirt Store

The purpose this repository is to showcase the Google Pay integration in a store built with Angular.

A deployed version of this app can be found at this link.

Prerequisites

To configure and run this sample app, you will need the following prerequisites installed on your workstation:

Setup

Once the prerequisites are installed, follow the below steps to set up and use this sample app:

  1. Clone this repository

  2. In your terminal, navigate to the repository location

    cd /path/to/repo
  3. Install the Node.js dependencies

    npm install .

Usage

Development server

To start a development server, follow the below steps:

  1. In your terminal, run ng serve
  2. In your web browser, open http://localhost:4200/

The app will automatically reload if you change any of the source files.

Code scaffolding

To generate a new component, run the following command:

ng generate component component-name

Alternatively, you can also use:

ng generate directive|pipe|service|class|guard|interface|enum|module

Build

To build the project, run the following command:

ng build

Build artifacts will be saved to the dist/ directory.

Support

To get more help on the Angular CLI, run ng help or see the Angular CLI Overview and Command Reference.

For any questions on this sample app, please submit an issue to this repository.

About

Example store built with Angular

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published