Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/deryeger/wiener-time

Real-time traffic data of Wiener Linien monitors.
https://github.com/deryeger/wiener-time

nextjs t3-stack wiener-linien wiener-linien-api

Last synced: 3 months ago
JSON representation

Real-time traffic data of Wiener Linien monitors.

Awesome Lists containing this project

README

        

# WienerTime


Logo



wiener-time.vercel.app

> Real-time traffic data of Wiener Linien monitors.

## Features

Built with the [t3-stack](https://github.com/t3-oss/create-t3-app), this web app shows real-time traffic data provided by the [Wiener Linien's API](https://www.data.gv.at/katalog/dataset/wiener-linien-echtzeitdaten-via-datendrehscheibe-wien).

It's hosted on Vercel, with the database being provided by PlanetScale.

## Development

```bash
# install dependencies
$ yarn install

# build in watch mode
$ yarn dev

# lint project files
$ yarn lint
```

### Environment

For local development, the following environment variables have to be added to an [.env](./.env) file.

#### Prisma

- `DATABASE_URL`

#### Next Auth

- `NEXTAUTH_SECRET`
- `NEXTAUTH_URL=http://localhost:3000`

#### Next Auth Discord Provider

- `DISCORD_CLIENT_ID`
- `DISCORD_CLIENT_SECRET`

#### OpenGraph

- `NEXT_PUBLIC_OG_URL=http://localhost:3000`

## License

[MIT](./LICENSE) - Copyright © Jan Müller