Skip to content

DerYeger/wiener-time

Repository files navigation

WienerTime

Logo

wiener-time.vercel.app

Real-time traffic data of Wiener Linien monitors.

Features

Built with the t3-stack, this web app shows real-time traffic data provided by the Wiener Linien's API.

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

Development

# 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 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 - Copyright © Jan Müller