Welcome to Wonderful Morocco! This comprehensive booking application allows users to reserve hotels, rent properties, and host their own listings in the beautiful country of Morocco. It's built with cutting-edge technologies to provide a seamless and secure experience for all users.
Wonderful Morocco is designed to enhance the travel experience for visitors to Morocco and provide a powerful platform for property owners. Here's how this app benefits its users and Morocco:
- Effortless Booking: Easily search for and book hotels and rentals across Morocco.
- User-Friendly Interface: Enjoy a smooth and intuitive booking experience on both desktop and mobile devices.
- Secure Authentication: Benefit from advanced security features with Google Auth, GitHub Auth, and Next.js Auth.
- Visual Appeal: High-quality images hosted on the cloud ensure that clients can make informed decisions with clear visuals of the properties.
- Host Your Property: List your property and reach a wider audience of potential guests.
- Manage Bookings: Use the intuitive interface to manage reservations and optimize occupancy rates.
- Showcase Your Property: Efficient image hosting helps present your property in the best light, attracting more bookings.
- Promoting Tourism: By providing a reliable platform for booking accommodations, Wonderful Morocco helps boost tourism in Morocco.
- Supporting Local Economy: Facilitates property rentals and hotel bookings, supporting local businesses and property owners.
- Cultural Exchange: Encourages visitors from around the world to explore and experience the rich culture and beauty of Morocco.
- Reservation System: Effortlessly book hotels and rentals with a user-friendly interface.
- Hosting Capabilities: List and manage properties with ease, offering a platform for property owners to reach a wider audience.
- Advanced Authentication: Secure logins using Google Auth, GitHub Auth, and Next.js Auth to ensure user data protection.
- Cloud Image Hosting: Efficient image storage and retrieval to showcase properties in the best light.
- Responsive Design: Optimized for both desktop and mobile devices, ensuring a smooth user experience across all platforms.
- Frontend: Next.js 14
- Database: Prisma and MongoDB
- Styling: Tailwind CSS
- Authentication: Google Auth, GitHub Auth, and Next.js Auth
- Image Hosting: Cloud-based solutions
-
Clone the repository:
git clone https://github.com/your-repo/wonderful-morocco.git cd wonderful-morocco
-
Install dependencies:
npm install
-
Set up environment variables:
Create a
.env
file in the root directory and add the necessary environment variables:DATABASE_URL="your_database_url" NEXTAUTH_SECRET="your_nextauth_secret" GITHUB_ID=your_github_id GITHUB_SECRET=your_github_secret GOOGLE_CLIENT_ID=your_google_client_id GOOGLE_CLIENT_SECRET=your_google_client_secret NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME="your_cloudinary_cloud_name"
-
Run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
- Booking: Navigate to the booking section to search and reserve hotels or rentals.
- Hosting: Go to the hosting section to list your property and manage bookings.
If you would like to use Wonderful Morocco as your own service, you will need to purchase a license from me, the owner and developer. Please contact me directly for more information on obtaining a license.
We welcome contributions from the community! If you’d like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.
-
Fork the repository
-
Create your feature branch:
git checkout -b feature/YourFeature
-
Commit your changes:
git commit -m 'Add some feature'
-
Push to the branch:
git push origin feature/YourFeature
-
Open a pull request
This project is licensed under the MIT License. See the LICENSE file for details.
If you find this project useful and would like to support its development, consider buying me a coffee:
Thank you to everyone who has supported and contributed to this project. Your feedback and assistance are invaluable.