A React-powered personal site that gets statically generated as a blazing fast™ PWA. All with a single webpack config file.
- Install this project's dependencies:
$ npm install
- Generate an SSL certificate for local development:
$ mkcert -install $ mkcert -cert-file cert/localhost.crt -key-file cert/localhost.key localhost 127.0.0.1 ::1
Use the command below to launch a development webserver on port 1337. It will hot reload on changes.
$ npm start
If you prefer setting breakpoints and such in VS Code, you can alternatively use the Debug
launch configuration. This requires the Debugger for Chrome extension.
$ npm run lint
You can use the following command to build the site for production. Not only will it output static CDN-ready assets to the dist/
folder, but it will also generate an NGINX configuration file!
$ npm run build
PRs are welcome! Please read the contributing guide. This project is MIT licensed.