An eatery management app for tracking restaurants with dietary options.
- Sticky Navigation Bar: Always visible navigation with Home and Map tabs
- Eatery Management: Add, view, and delete eateries
- Interactive Map: Google Maps integration for viewing eateries geographically
- User Profile: Editable profile with avatar, name, email, and bio
- Responsive Design: Modern UI built with Tailwind CSS
- Home Tab: View and manage your eateries list
- Map Tab: Interactive Google Maps view of eateries
- Profile Button: Click to view and edit your profile
- Uses Google Maps API with Places library
- Default location: New York City
- Interactive map with zoom and pan controls
- Error handling and loading states
- Editable profile information
- Avatar support
- Settings and logout options
- Responsive form controls
- Clone the repository
- Install dependencies:
npm install
- Set up Google Maps API key (see below)
- Start development server:
npm run dev
- Open your browser to the local development URL
To use the interactive map feature, you'll need a Google Maps API key:
- Go to Google Cloud Console
- Create a new project or select an existing one
- Enable the Maps JavaScript API
- Create credentials (API key)
- Create a
.env
file in the root directory with:VITE_GOOGLE_MAPS_API_KEY=your_api_key_here
- Restrict the API key to your domain for security
- React 18
- Vite
- Tailwind CSS
- Lucide React (for icons)
- Google Maps API
The app uses a Google Maps API key for map functionality. Follow the setup instructions above to configure your own API key.
npm run dev
- Start development servernpm run build
- Build for productionnpm run preview
- Preview production build