An intelligent mapping platform for data center site assessment and analysis.
- Interactive 3D map with Mapbox GL
- AI-powered site suitability assessment
- Real-time environmental data analysis
- Custom zone creation and management
- Glass-morphism UI design
- Node.js 18+
- npm, yarn, pnpm, or bun
- Mapbox account (for access token)
git clone <repository-url>
cd viranpm installCreate a .env.local file in the root directory:
NEXT_PUBLIC_MAPBOX_TOKEN=your_mapbox_token
MONGODB_URI=your_mongodb_connection_string
AIRNOW_API_KEY=your_airnow_api_key
GEMINI_API_KEY=your_gemini_api_key| Variable | Description |
|---|---|
NEXT_PUBLIC_MAPBOX_TOKEN |
Mapbox GL access token for map rendering |
MONGODB_URI |
MongoDB connection string for data storage |
AIRNOW_API_KEY |
AirNow API key for air quality data |
GEMINI_API_KEY |
Google Gemini API key for AI analysis |
npm run devOpen http://localhost:3000 in your browser.
| Command | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Build for production |
npm run start |
Start production server |
npm run lint |
Run ESLint |
- Framework: Next.js 16 (App Router)
- UI: React 19, Tailwind CSS 4
- Maps: Mapbox GL JS
- Database: MongoDB Atlas
- AI: Google Gemini
src/
├── app/
│ ├── page.tsx # Main page with logo badge
│ ├── layout.tsx # Root layout
│ └── globals.css # Global styles & design system
└── components/
└── Map.tsx # Interactive map component
Private