Demo of building progressive web apps
In the server folder, run yarn to install dependencies. Run "yarn start" to run the server.
In the client folder, run yarn to install dependencies. Run "yarn build" to build the client. Use "yarn serve build" to run the production version of the client application. Open localhost:5000 to access the PWA.
For more explanation on progressive web apps and background sync, refer to the article