A modern React application for discovering top-rated restaurants in Moroccan cities, featuring dynamic filtering and interactive maps.
- Node.js (v18 or higher)
- npm or yarn
- Git
- Clone the repository
git clone https://github.com/boufnichel/restaurant-finder-morocco.git
cd restaurant-finder-morocco
- Install dependencies
npm install
# or
yarn install
- Create environment file
cp .env.example .env
- Start the development server
npm run dev
# or
yarn dev
The application will be available at http://localhost:5173
- React 18
- TypeScript
- Tailwind CSS
- shadcn/ui Components
- Vite
restaurant-finder-morocco/
├── src/
│ ├── components/
│ │ └── RestaurantListing/
│ │ ├── index.tsx
│ │ └── types.ts
│ ├── services/
│ │ └── maps/
│ ├── utils/
│ └── App.tsx
├── public/
├── .env.example
└── package.json
npm run dev
- Start development servernpm run build
- Build for productionnpm run lint
- Run ESLintnpm run preview
- Preview production build
Create a .env
file with the following variables:
VITE_GOOGLE_MAPS_API_KEY=your_google_maps_api_key
- Search and filter restaurants by:
- Rating
- Price range
- Cuisine type
- View restaurant details:
- Photos
- Opening hours
- Contact information
- Reviews
- Interactive map integration
- Responsive design for all devices
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License.