An interactive web mapping application built with Next.js and Mapbox GL, designed to visualize and explore locations in Malaysia.
- Modern web architecture with Next.js 14 and App Router
- Interactive Mapbox GL integration with custom controls
- Real-time location search and filtering
- Responsive design powered by Tailwind CSS
- Dark/Light mode support
- Optimized performance with server-side rendering
- TypeScript for enhanced code reliability
- Node.js 18.17 or later
- Mapbox account and access token (Get one here)
- Git (for version control)
-
Clone the repository:
git clone https://github.com/yourusername/basmy-web.git cd basmy-web -
Install dependencies:
npm install # or yarn install # or pnpm install
-
Configure environment variables:
cp .env.example .env.local
Then edit
.env.localand add your Mapbox token:NEXT_PUBLIC_MAPBOX_TOKEN=your_mapbox_token_here -
Start the development server:
npm run dev # or yarn dev # or pnpm dev
-
Open http://localhost:3000 in your browser