Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/deryeger/wiener-time
- Owner: DerYeger
- License: mit
- Created: 2022-08-08T13:06:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-13T11:09:31.000Z (over 2 years ago)
- Last Synced: 2024-10-10T01:44:09.900Z (3 months ago)
- Topics: nextjs, t3-stack, wiener-linien, wiener-linien-api
- Language: TypeScript
- Homepage: https://wiener-time.vercel.app
- Size: 380 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WienerTime
> 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