This sample will attempt to demonstrate some best practices on the web, taking into account the specific requirements of an e-commerce site. It will also demonstrate some useful features enabled by new technologies and APIs on the web.
Create a fork of the original GoogleChromeLabs/sample-pie-shop and clone to your development environment.
Enter the project directory and run npm
to install the dependencies.
cd sample-pie-shop
npm i
The serve
target will build the site and serve it locally while watching for
any changes. Once the script completes the initial build, the site should be
available on http://localhost:3000/.
npm run serve
Check package.json
for the other build targets.
Make sure you have firebase private key stored in src/data/keys\
. Then:
npm run tools:piegen