Radverkehrsatlas provides access to bicycle infrastructure data from OpenStreetMap (OSM) for administrative staff. The OSM data is processed and visualized in multiple map views. The integrated verification process provided a way for administrations to check the given data and provide feedback – internally and to the community. Based on this data, administrations can plan new bike lanes and networks and maintain existing infrastrucutre.
The backend, for processing and storing the geographic data, is located at atlas-geo.
- Framework: NextJS with BlitzJS
- ORM: Prisma
- Styling: Tailwind CSS
For VS Code we recommended some extensions.
To test the login, you need to setup your own OSM OAuth 2-Application, see osm-auth and use update the credentials.
- Make sure
npm run dev
works as expected. This will make sure all packages are patched. - Create a
.env.production.local
with settings linkeNEXT_PUBLIC_APP_ORIGIN=http://127.0.0.1:3000 NEXT_PUBLIC_APP_ENV='staging' # 'staging', 'production'
- Run
npm run build
andnpm run start
to test the production bundle
- Favicons:
icon.svg
https://nextjs.org/docs/app/api-reference/file-conventions/metadata/app-icons Generator forfavicon.ico
https://realfavicongenerator.net/
All helper scripts run with bun.
See /scripts/MapboxStyles/README.md on how to fetch updated style definitions from Mapbox.
See /scripts/RegionalMasks/README.md on how to fetch updated the regional mask data.
See /datasets/README.md on how to process and update external datasets.
If you find any bugs, feel free to open an issue in this repository.
This project is licensed under the AGPL-3.0 License - see the LICENSE.md file for more information.
It contains dependencies which have different Licenses, see package.json
.
For the current version:
- Thank you BlitzJS and NextJS
- Thank you next-usequerystate
- Thank you Tailwind CSS, Tailwind UI and Headless UI
For the alpha version:
- Thank you Vite and Vitest
- Thank you React Location