Skip to content

Bus Sign

Prerequisites

  • Bun - JavaScript runtime and package manager
  • Cargo - Rust package manager and build system
  • PRT API Key - Obtained from creating a TrueTime account here

Setup

Setting up your environment variables

Terminal window
# Copy env variables from .env.example
$ cp .env.example .env
# Add your PRT_API_KEY to the .env file

Running the backend

Terminal window
$ cd backend
# Install dependencies and start the backend
backend $ cargo run

Running the frontend

Terminal window
$ cd frontend
# Install dependencies
frontend $ bun install
# Start the frontend
frontend $ bun dev