An open API service indexing awesome lists of open source software.

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:

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.

![Screenshot](docs/screenshot.png)

## 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