Skip to content
프로젝트

소개

https://valhalla.openstreetmap.de에서 실행되는 데모 웹 앱입니다.

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Valhalla Demo App

image

This is the ReactJS demo web app running on https://valhalla.openstreetmap.de. It provides routing and isochrones with a magnitude of options and makes requests to Valhalla, an open source routing engine and accompanying libraries for use with OpenStreetMap data.

Commands

npm install

Install the dependencies.

npm run start

Runs the app in hot-reload mode on http://localhost:3000 to view changes in the browser.

npm run build

Builds and bundles the minified app for production to the ./build folder.

Your app is ready to be deployed!

Testing

Tests and Linting

This project includes end-to-end tests using Playwright to ensure the application works correctly across different scenarios.

Unit Tests

npm test

End-to-End Tests

First install the browser(s) you want to use:

# Install all browsers
npx playwright install

# Or install only what you need
npx playwright install chromium
npx playwright install firefox
# Run all e2e tests (both chromium and firefox)
npm run test:e2e

# Run tests for a specific browser
npm run test:e2e -- --project=chromium
npm run test:e2e -- --project=firefox

# Run tests with visible browser (useful for debugging)
npm run test:e2e:headed -- --project=firefox

# Open Playwright Test UI for interactive testing
npm run test:e2e:ui

Tests automatically start the development server if it's not already running.

Get started with Docker

git clone https://github.com/nilsnolde/valhalla-app.git
cd valhalla-app
docker compose up --build

Customization

Edit .env to manage

  • Nominatim API server
  • Valhalla API server
  • Tile server
  • Map start location

관련 프로젝트 살펴보기

불러오는 중…