Home
Softono
pwatter

pwatter

Open source TypeScript
162
Stars
29
Forks
7
Issues
18
Watchers
7 years
Last Commit

About pwatter

Angular Progressive Web App using Workbox

Platforms

Web Self-hosted

Languages

TypeScript

A simple app for the PWA Workshop

Prerequisites

  1. Latest stable versions of node, npm installed.
  2. Static web server with SPA support:
  • serve. Recommended and pre-configured.
  • superstatic. Use this as a fallback option.

Installation

  1. Clone the repo

    git clone [email protected]:webmaxru/pwatter.git
  2. Make sure you are on "workbox" branch:

    git checkout workbox
  3. Install dependencies:

    npm install
  4. Install "serve" dev webserver:

    npm install serve -g
  5. Run the server inside "pwatter" directory:

    serve
  6. Install Workbox CLI:

    npm install workbox-cli --global
  7. Open the browser:

    http://localhost:5000/ 

    You should see the page with PWAtter header.

We are ready to start the workshop! Follow the trainer instructions.

If for some reasons global npm package installation is not an option for you, you can install and run "serve" locally:

npm install serve
node_modules/.bin/serve