martina6hall / sample-pie-shop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Online store PWA sample.

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.

Development

Create a fork of the original GoogleChromeLabs/sample-pie-shop and clone to your development environment.

Installing dependencies

Enter the project directory and run npm to install the dependencies.

cd sample-pie-shop
npm i

Running the development server

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.

Run pie generation pipeline

Make sure you have firebase private key stored in src/data/keys\. Then:

npm run tools:piegen

About

License:Apache License 2.0


Languages

Language:HTML 62.5%Language:JavaScript 27.8%Language:CSS 8.8%Language:Shell 0.8%