项目作者: valasek

项目描述 :
Progressive Web App example written in JS with Golang as web server
高级语言: JavaScript
项目地址: git://github.com/valasek/golang-pwa.git
创建时间: 2018-07-02T21:21:13Z
项目社区:https://github.com/valasek/golang-pwa

开源协议:Apache License 2.0

下载


Progressive Web App with Golang server

Progressive Web App example written in JS with Golang as web server.

Based on Your first Progressive Web App
code lab from Google.

How to start

  1. git clone https://github.com/valasek/golang-pwa
  2. cd server
  3. go run server.go

Your first Progressive Web App code lab from Google

What you’ll learn

  • How to design and construct an app using the “app shell” method
  • How to make your app work offline
  • How to store data for use offline later

What you’ll need

  • Chrome 52 or above, though any browser that supports service workers and cache.addAll() will work
  • Web Server for Chrome, or use your own web server of choice.
  • The sample code
  • A text editor
  • Basic knowledge of HTML, CSS and JavaScript
  • (Optional) Node is required in the last step to deploy to Firebase