Skip to content

bcanseco/borja.io

Repository files navigation

A React-powered personal site that gets statically generated as a blazing fast™ PWA. All with a single webpack config file.

Getting started ☕

Prerequisites 📝

Setup 🛠

  1. Install this project's dependencies:
    $ npm install
  2. 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

Development 💻

Running 👟

Use the command below to launch a development webserver on port 1337. It will hot reload on changes.

$ npm start

Debugging 🐞

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.

Linting 🧹

$ npm run lint

Production 🏗

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

Contribute 👪

PRs are welcome! Please read the contributing guide. This project is MIT licensed.

About

🔥 A React-powered personal site that gets statically generated as a blazing fast™ PWA. All with a single webpack config file.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published