Fix inconsistent Mapbox capitalization
Standardized "MapBox" to "Mapbox" throughout the codebase to match official branding. Updated: - Documentation (CLAUDE.md, README.md) - Source code comments and console logs - API documentation and Swagger definitions This ensures consistent branding and professional presentation. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
75cbd921b4
commit
536660e818
4 changed files with 19 additions and 19 deletions
10
README.md
10
README.md
|
@ -5,7 +5,7 @@ A community-driven web application for tracking winter road conditions and icy h
|
|||
## Features
|
||||
|
||||
- 🗺️ **Interactive Map** - Real-time location tracking centered on Grand Rapids
|
||||
- ⚡ **Fast Geocoding** - Lightning-fast address lookup with MapBox API
|
||||
- ⚡ **Fast Geocoding** - Lightning-fast address lookup with Mapbox API
|
||||
- 🚫 **JavaScript-Free Mode** - Complete functionality without JavaScript via server-side rendering
|
||||
- 🖼️ **Static Maps** - Auto-generated Mapbox static images for non-JS users
|
||||
- 🔄 **Auto-Expiration** - Reports automatically removed after 48 hours
|
||||
|
@ -19,7 +19,7 @@ A community-driven web application for tracking winter road conditions and icy h
|
|||
|
||||
### Prerequisites
|
||||
- Node.js 18+
|
||||
- MapBox API token (free tier available)
|
||||
- Mapbox API token (free tier available)
|
||||
- **Important**: For server-side static maps, use an unrestricted token (no URL restrictions)
|
||||
|
||||
### Local Development
|
||||
|
@ -39,7 +39,7 @@ A community-driven web application for tracking winter road conditions and icy h
|
|||
3. **Configure environment variables:**
|
||||
```bash
|
||||
cp .env.example .env
|
||||
# Edit .env with your MapBox token
|
||||
# Edit .env with your Mapbox token
|
||||
```
|
||||
|
||||
4. **Start the server:**
|
||||
|
@ -103,7 +103,7 @@ ADMIN_PASSWORD=your_secure_password
|
|||
PORT=3000
|
||||
```
|
||||
|
||||
**MapBox Token Requirements:**
|
||||
**Mapbox Token Requirements:**
|
||||
- For interactive geocoding: Token can have URL restrictions
|
||||
- For server-side static maps: Must use unrestricted token (no URL restrictions)
|
||||
- Recommended: Use one unrestricted token for both features
|
||||
|
@ -178,7 +178,7 @@ Interactive API documentation available at `/api-docs` when running the server.
|
|||
- **Frontend:** Progressive Enhancement (Vanilla JavaScript + Server-side rendering)
|
||||
- **Enhanced:** Leaflet.js interactive maps with real-time updates
|
||||
- **Fallback:** Server-side HTML tables with static Mapbox images
|
||||
- **Geocoding:** MapBox API (with Nominatim fallback)
|
||||
- **Geocoding:** Mapbox API (with Nominatim fallback)
|
||||
- **Maps:** Leaflet.js (interactive) + Mapbox Static Images API (server-side)
|
||||
- **Security:** Rate limiting, input validation, authentication
|
||||
- **Testing:** Jest, TypeScript, 128+ tests with 76% coverage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue