Public
Like
SmartRoutes
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.
A real-time traffic congestion management app for Nigeria that helps users navigate through traffic efficiently.
- 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
├── 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
- Frontend: React, TailwindCSS
- Backend: Hono API framework
- Database: SQLite
- Maps: OpenStreetMap with Leaflet
- Authentication: Email-based authentication
- Users sign up with their Gmail address
- The app tracks user location (with permission)
- Users can report traffic conditions in their area
- The app aggregates traffic data from all users
- Smart algorithms suggest the best routes based on current traffic conditions