Earthquakes around the world, as they happen — explained for people who aren't seismologists.
Most earthquake sites are built for experts. This one shows where an earthquake happened, how big it was and what it meant for the places you care about.
A placeholder shell while the globe redesign is built: the home page shows the wordmark, in English and Spanish. Old map and detail URLs redirect to the home page. The previous table and map app lives on archive/v1.
- Use the Node version in
.nvmrc:nvm use - Install dependencies:
pnpm install - Install the browser for integration tests:
pnpm exec playwright install chromium - Start the dev server:
pnpm dev(http://localhost:3000)
| Script | What it does |
|---|---|
dev |
Run the app locally with hot reload |
build |
Build the app for production |
start |
Serve the production build |
check |
Run build, smoke, typecheck, lint, format check, coverage and integration tests |
test |
Run the test suite |
test:coverage |
Run the test suite with a coverage report |
test:integration |
Run browser-mode integration tests (Chromium via Playwright) |
test:smoke |
Check redirects, raw HTML and share images in the build, with stubbed agencies |
typecheck |
Type-check the project without emitting files |
lint |
Lint the code with oxlint |
format |
Format the code with oxfmt |
format:check |
Check formatting without writing changes |
TanStack Start + React, TanStack Query, Tailwind CSS. Exact versions live in package.json.
- Earthquakes: EMSC FDSN event service (default) and USGS FDSN event service
- In Railway, choose New Project → Deploy from GitHub repo →
Vizzuality/quake-watch. - Railway builds with Railpack, which reads
packageManagerandengines.nodefrompackage.json, runspnpm buildand starts the app withpnpm start. The server listens on Railway'sPORT. - In Settings → Networking, click Generate domain.
- Enable PR environments in Project Settings → Environments to get a preview per pull request. See Railway environments.
GitHub Actions runs build, raw-HTML smoke tests against the build, typecheck, lint, format check, tests with coverage and browser-mode integration tests on pushes to main and on pull requests. Draft pull requests are skipped until they are marked ready for review. The workflow is in .github/workflows/ci.yml.
Domain terms (Earthquake, Magnitude, Intensity and others) are defined in CONTEXT.md.
MIT — see LICENSE.