This repository is a bare bones PWA using NexJS. It is a flexible setup which can be used as a boilerplate for a more complex app.
I am currently running this with node version v10, but I am no sure with which versions of node this is compatible
The setup should be pretty straightforward:
git clone https://github.com/italomg/nextjs_pwa.git
npm install
npm run test
P.S.: As this isn't supposed to have any functionalities there aren't any tests as well.
npm run dev
This app can be deployed to Google App Engine. The only you need to do is to add an APP_ID to app.yaml.
After setting up the Google Cloud SDK CLI a new version of the app can be deployed by running:
gcloud app deploy
Google app engine provide two major features which enables our app to become a PWA:
HTTP/2: By default all App Engine instances will use HTTP/2
HTTPS: With very little configuration it is possible to enforce HTTPS on all requests