Skip to content

Wonderful Morocco, a Booking web application when you can find and explore hotels, cabins and more and also with a good price and low fee of reservations, using Nextjs 14, tailwindcss, mongoDB and prisma

License

Notifications You must be signed in to change notification settings

reblox01/wmorocco

Repository files navigation

Wonderful Morocco

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.

About Wonderful Morocco

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:

For Clients

  • 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.

For Property Owners

  • 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.

For Morocco

  • 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.

Features

  • 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.

Tech Stack

  • 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

Live Previews

Live Preview - Desktop version

Watch the video

Live Preview - Mobile version

Watch the video

Installation

  1. Clone the repository:

    git clone https://github.com/your-repo/wonderful-morocco.git
    cd wonderful-morocco
  2. Install dependencies:

    npm install
  3. 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"
  4. Run the development server:

    npm run dev

    Open http://localhost:3000 with your browser to see the result.

Usage

  • 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.

Licensing

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.

Contributing

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.

  1. Fork the repository

  2. Create your feature branch:

    git checkout -b feature/YourFeature
  3. Commit your changes:

    git commit -m 'Add some feature'
  4. Push to the branch:

    git push origin feature/YourFeature
  5. Open a pull request

License

This project is licensed under the MIT License. See the LICENSE file for details.

Support

If you find this project useful and would like to support its development, consider buying me a coffee:

Acknowledgements

Thank you to everyone who has supported and contributed to this project. Your feedback and assistance are invaluable.

About

Wonderful Morocco, a Booking web application when you can find and explore hotels, cabins and more and also with a good price and low fee of reservations, using Nextjs 14, tailwindcss, mongoDB and prisma

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages