It's sample service worker with webpack and localhost server https
This instructions will take you to a copy of the running project in your actual local machine for development means. Please consult the steps to deploy your project
- NodeJS >= 8.1.x
- VSCode
- NPM
Tech | Description |
---|---|
nodejs | https://nodejs.org/en/download/ |
npm | https://docs.npmjs.com/ |
webpack | https://webpack.js.org/ |
express | http://expressjs.com/pt-br/ |
html-webpack-plugin | https://github.com/jantimon/html-webpack-plugin |
clean-webpack-plugin | https://github.com/johnagan/clean-webpack-plugin |
workbox-webpack-plugin | https://developers.google.com/web/tools/workbox/modules/workbox-webpack-plugin |
chalk | https://github.com/chalk/chalk |
devcert-with-lwocalhost | devcert-with-lwocalhost |
1. Clone the application
git clone https://github.com/cassiolpaixao90/sample-service-worker.git
2. Install dependence the app using NPM
cd sample-service-worker
npm install
3. Run for generate certificate
npm run certs
4. Run mode Development
npm start
5. Build application for production
npm run build
This project is licensed under the MIT License