Skip to content

google/travel-impact-model-website

Travel Impact Model Website README

This is the code behind the domain www.travelimpactmodel.org. The methodology and API access for the Travel Impact Model can be found here.

How To Contribute

Clone the repository, install nvm, and then run:

nvm install
nvm use
npm install
npx playwright install
npm start

From here, you can access the website locally by opening the browser on your laptop and navigating to:

http://localhost:3000

Run tests

You can run tests with:

npm test

The screenshot test results will appear in the /test-results folder. The snapshot tests will appear src/tests/jest-tests/**/__snapshots__ folder. If the changes are expected, you can update the test using the following command:

npm run test-update

Run linter and formatter

Before committing a change the EsLint linter and Prettier formatter are run automatically. If you'd like to run them manually, you can use the following command:

npm run lint && npm run format

If you'd like to change the lint or formatter rules, you can do that in .eslintrc.js and .prettierrc config files.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •