An open API service indexing awesome lists of open source software.

https://github.com/google-pay/angular-store

Example store built with Angular
https://github.com/google-pay/angular-store

Last synced: 11 months ago
JSON representation

Example store built with Angular

Awesome Lists containing this project

README

          

# 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](https://payments-angular-store.web.app/).

## Prerequisites

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

- [Node.js and NPM](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
- [Angular CLI](https://angular.io/guide/setup-local)

## 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

```bash
cd /path/to/repo
```

3. Install the Node.js dependencies

```bash
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:

```bash
ng generate component component-name
```

Alternatively, you can also use:

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

### Build

To build the project, run the following command:

```bash
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](https://angular.io/cli).

For any questions on this sample app, please
[submit an issue](https://github.com/google-pay/angular-store/issues/new) to
this repository.