Skip to content

Amsterdam/ee-react-map-demos

React Map Demos

Team responsible: Engineering Enablement

Aims of this repo

This project uses Storybook to provide demos and examples of common use-cases of maps for Gemeente Amsterdam. The preferred map library is Leaflet implemented in the frontend library React.

How to use this repo?

This project is generated from a repository template.

Usage

The starter contains the following scripts:

  • start - starts dev server
  • build - generates the production bundle
  • test - starts vitest and runs all tests
  • test:coverage - starts vitest and run all tests with code coverage report
  • lint:scripts - lint .ts, .tsx and .json files with eslint
  • lint:styles - lint .css and .scss files with stylelint
  • format:scripts - format .ts, .html and .json files with prettier
  • format:styles - format .cs and .scss files with stylelint
  • format - format all with prettier and stylelint
  • prepare - script for setting up husky pre-commit hook
  • uninstall-husky - script for removing husky from repository

Settings

By default npm run start will fire up a dev server with a random port (often 5173). You can configure a constant port in the vite.config.ts file; there is commented code showing to configure the port. There are many other options available as documented in the vite docs.

How to contribute to this repo?

Simply create and submit a pull request. You can also contact us via Teams (DV - Engineering Enablement) or Slack (#engineering-enablement).

Acknowledgments

Original template repo

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