A modern web application for exploring places around you, built with React, TypeScript, and the Google Maps API. View the live version at https://maps.buremba.com/.
- React 18 with TypeScript
- Vite for fast development and building
- Google Maps JavaScript API & Places API
- TailwindCSS for styling
- Tanstack Table for list management
- Lucide Icons for beautiful UI elements
- Node.js (v16 or higher)
- npm or yarn
- Google Maps API key with Maps JavaScript API and Places API enabled
-
Clone the repository:
git clone https://github.com/yourusername/maps-explorer.git cd maps-explorer -
Install dependencies:
npm install # or yarn install -
Set up environment variables:
cp .env.example .env
Edit
.envand add your Google Maps API key:VITE_GOOGLE_MAPS_API_KEY=your_api_key_here -
Start the development server:
npm run dev # or yarn dev -
Open http://localhost:5173 in your browser.
The following environment variables are required:
VITE_GOOGLE_MAPS_API_KEY: Your Google Maps API key
For development, create a .env file in the root directory. For production, set these in your hosting platform's environment settings.
The app is currently deployed on Cloudflare Pages. To deploy your own version:
- Fork this repository
- Connect your fork to Cloudflare Pages
- Set the environment variables in your Cloudflare Pages project settings
- Deploy!
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.