https://github.com/mayudev/routecat
:station: Assistant for public transport in Austria :cat:
https://github.com/mayudev/routecat
Last synced: 6 months ago
JSON representation
:station: Assistant for public transport in Austria :cat:
- Host: GitHub
- URL: https://github.com/mayudev/routecat
- Owner: mayudev
- License: mit
- Created: 2025-02-26T19:03:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-17T18:28:17.000Z (over 1 year ago)
- Last Synced: 2025-03-17T19:38:03.269Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://routecat.mayu.dev
- Size: 1.24 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# routecat
A user-friendly web application for finding journeys using the ÖBB Hafas system. It supports basically the entirety of public transport in Austria - trains, trams, buses, etc. It also knows about most trains in other countries in Europe, although live data might not be accurate then.

## Development
> The **pnpm** package manager is recommended to use with this project.
This repository is a monorepo. The frontend is contained in the `packages/web` directory, and backend in `packages/server`. There's also an additional typings package: `packages/types`
### Web
The frontend is written in React and uses Vite.
- Development: `pnpm dev`
- Build: `pnpm build`
### Backend
The backend uses Express.
- Development: `pnpm dev`
- Build: `pnpm build`
This project ships with a Dockerfile that builds the server component.
#### Environment variables
- `APP_PORT` - Port (default: 8080)
- `APP_CORS_ORIGIN` - Origin for cors (URL of the frontend)
- `APP_HAFAS_USER_AGENT` - User agent to use with hafas