Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.
/ nextjs_pwa Public archive

A PWA app build with NextJS and deployed on Google App Engine

License

Notifications You must be signed in to change notification settings

italomg/nextjs_pwa

Repository files navigation

PWA using NextJS and deployed on App Engine

audit

Introduction

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.

Setup

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:

Clone this repo

git clone https://github.com/italomg/nextjs_pwa.git

Install the dependencies

npm install

Running

Run tests

npm run test

P.S.: As this isn't supposed to have any functionalities there aren't any tests as well.

Run development

npm run dev

Deploy

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

Deploy benefits

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

About

A PWA app build with NextJS and deployed on Google App Engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published