f917fb8014839683a2d3fbc6fc50bae9a5245180
- Server: Express.js with 13 API route files (auth, regulations, contacts, calendar, truck stops, bridges, weigh stations, alerts, load board, escort locator, orders, documents, contributions) - Database: PostgreSQL with Prisma ORM, 15 models covering all modules - Auth: JWT + bcrypt with role-based access control (driver/carrier/escort/admin) - Geospatial: Haversine distance filtering on truck stops, bridges, escorts - Seed script: Imports all existing mock data (51 states, contacts, equipment, truck stops, bridges, weigh stations, alerts, seasonal restrictions) - Frontend: All 10 data-driven pages now fetch from /api instead of mock-data.js - API client (api.js): Compatibility layer that transforms API responses to match existing frontend rendering code, minimizing page-level changes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
PilotEdge — Oversize Load Resource Platform (V1 POC)
What Is This?
A proof-of-concept web application for truck drivers, carriers, and escort/pilot vehicle operators in the oversize/overdimensional freight industry.
⚠️ All regulation data shown is SIMULATED for demonstration purposes and must be verified with actual state DOT regulations before any real-world use.
How to View
- Open
index.htmlin any modern web browser (Chrome, Edge, Firefox) - An internet connection is required (for map tiles and the CSS library)
- Navigate between pages using the top navigation bar
Pages
Core
| Page | File | Description |
|---|---|---|
| Home | index.html |
Platform overview and all feature modules |
| Regulations Map | regulations.html |
Interactive US map + equipment requirements by state |
| Request Service | order.html |
Escort vehicle service request form |
Road Intelligence
| Page | File | Description |
|---|---|---|
| Truck Stops | truckstops.html |
Oversize-friendly parking with user comments |
| Bridge Clearances | bridges.html |
Height/width/weight restrictions for bridges |
| Weigh Stations | weighstations.html |
Crowd-sourced open/closed status |
| Route & Weather | alerts.html |
Construction, closures, and wind/weather alerts |
Services & Resources
| Page | File | Description |
|---|---|---|
| Load Board | loadboard.html |
Oversize load listings needing escort services |
| Find Escorts | locator.html |
Map of available escort vehicle operators |
| DOT Contacts | contacts.html |
State permit office phone/email directory |
| Seasonal Calendar | calendar.html |
Seasonal restrictions and closure calendar |
| Document Vault | documents.html |
Store permits, insurance, certifications |
Tech Stack (POC)
- HTML / CSS / JavaScript (no build step required)
- Tailwind CSS via Play CDN
- Leaflet.js for interactive maps via CDN
- Mock data (hardcoded — not yet connected to APIs or databases)
Next Steps
- Replace mock data with real, verified state regulation data
- Connect to backend APIs and a database
- Add user accounts, authentication, and profiles
- Integrate payment processing for subscriptions
- Deploy to a web hosting service (Vercel, Netlify, or similar)
Description
Languages
HTML
50.5%
JavaScript
49.5%