Roady is the "Flighty for road trips." It is a sophisticated tracking application designed to log, visualize, and analyze your car journeys with the same level of detail and polish that aviation enthusiasts expect from flight trackers.
Whether you're commuting, road-tripping, or just love data, Roady provides a beautiful, local-first way to keep a passport of your travels.
This is a full-stack application composed of:
- Client (
/client): A React application built with Vite, TypeScript, Tailwind CSS, and Capacitor for mobile deployment. - Server (
/server): A high-performance Go (Golang) REST API. - Database: PostgreSQL for persistent storage of user data and trip logs.
- Docker & Docker Compose (Recommended for easiest setup)
- Or manually: Node.js (v18+), Go (1.21+), and PostgreSQL.
The easiest way to run the entire stack (Client, Server, and Database) is using Docker Compose.
-
Clone the repository:
git clone <your-repo-url> cd Roady
-
Start the services:
docker compose up --build
This will start:
- PostgreSQL Database: Port
5432 - Go Server: Port
8080(Accessible athttp://localhost:8080)
- PostgreSQL Database: Port
-
Run the Client: Open a new terminal window to run the frontend.
cd client npm install npm run devThe client will be available at
http://localhost:8081(or the port shown in your terminal).
If you prefer to run things manually without Docker:
Ensure you have PostgreSQL running and create a database named roady.
createdb roadyNavigate to the server directory and start the backend.
cd server
export DATABASE_URL="postgres://postgres:postgres@localhost:5432/roady?sslmode=disable" # Adjust credentials as needed
go mod tidy
go run main.goNavigate to the client directory and start the frontend.
cd client
npm install
npm run dev- Framework: React + Vite
- Language: TypeScript
- Styling: Tailwind CSS + Shadcn UI
- Mobile: Capacitor (Filesystem, Geolocation, Preferences)
- State: React Context + Framer Motion
- Language: Go (Golang)
- Database: PostgreSQL
- Auth: JWT-ready architecture (currently simple token-based)
- Live Tracking: Real-time GPS logging with offline buffering.
- Trip History: View past trips with detailed statistics (distance, duration).
- Vehicle Management: Tag trips with specific vehicles (Make, Model, Year).
- Beautiful UI: Dark-mode first, "Flighty-inspired" design.