In October 2023, the W3C Community published the first draft of the Web Sustainability Guidelines (WSG). This tool is an independent side project that offers a way to navigate and prioritize these guidelines. For the implementation we use TypeScript and React. Feel free to suggest features, report bugs or contribute!
The .nvmrc file in project root describes what Node version to use to make sure we all use the same. To switch between Node versions, a version manager, such as Node Version Manager (NVM), is a helpful tool.
# Install dependencies
yarn install
# Run app
yarn dev
Now you can navigate to the following URL: http://localhost:5173/
# Install dependencies
yarn install
# Build app for production
yarn build
# Test run app
yarn preview
Now you can navigate to the following URL: http://localhost:4173/
App is auto deployed when changes are pushed to branch main
. We use Digital Ocean for hosting.
We use ESLint to find issues in the code. You can setup your code editor to highlight such issues, based on the project config. There is also an option to run the following command from terminal:
# Run linter
yarn lint