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.
To configure and run this sample app, you will need the following prerequisites installed on your workstation:
Once the prerequisites are installed, follow the below steps to set up and use this sample app:
-
Clone this repository
-
In your terminal, navigate to the repository location
cd /path/to/repo
-
Install the Node.js dependencies
npm install .
To start a development server, follow the below steps:
- In your terminal, run
ng serve
- In your web browser, open
http://localhost:4200/
The app will automatically reload if you change any of the source files.
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
To build the project, run the following command:
ng build
Build artifacts will be saved to the dist/
directory.
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.