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
- Host: GitHub
- URL: https://github.com/google-pay/angular-store
- Owner: google-pay
- License: apache-2.0
- Created: 2021-08-20T20:22:39.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-01-08T10:30:24.000Z (over 1 year ago)
- Last Synced: 2025-01-08T11:31:56.258Z (over 1 year ago)
- Language: TypeScript
- Size: 9.12 MB
- Stars: 7
- Watchers: 7
- Forks: 2
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
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.