• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
Abbietech

Abbietech

SmartRoutes

Public
Like
SmartRoutes
Home
Code
4
backend
4
frontend
3
shared
3
README.md
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
README.md

SmartRoutes

A real-time traffic congestion management app for Nigeria that helps users navigate through traffic efficiently.

Features

  • User authentication with Gmail
  • Real-time location tracking and updates
  • Traffic congestion reporting and visualization
  • Smart route recommendations based on current traffic conditions
  • User-friendly interface optimized for mobile devices

Project Structure

├── backend/
│   ├── database/       # SQLite database setup and queries
│   ├── routes/         # API endpoints
│   └── index.ts        # Main API entry point
├── frontend/
│   ├── components/     # React components
│   ├── index.html      # Main HTML template
│   └── index.tsx       # Frontend entry point
└── shared/             # Shared types and utilities

Technologies Used

  • Frontend: React, TailwindCSS
  • Backend: Hono API framework
  • Database: SQLite
  • Maps: OpenStreetMap with Leaflet
  • Authentication: Email-based authentication

How It Works

  1. Users sign up with their Gmail address
  2. The app tracks user location (with permission)
  3. Users can report traffic conditions in their area
  4. The app aggregates traffic data from all users
  5. Smart algorithms suggest the best routes based on current traffic conditions
Code
backendfrontendsharedREADME.md
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.