Git Product home page Git Product logo

hotel101-hotel-bookings-laravel-react's Introduction

Welcome to Hotel101, a hotel bookings system, built with Laravel backend, React and Tailwind CSS in the frontend.

Demo:

ps: the backend is hosted by heroku, so just wait a bit for api response

1 - https://hotel101.netlify.app

2 - http://hotel101.ga

1 - Clone the project:

git clone https://github.com/yons101/hotel101-hotel-bookings-laravel-react.git
cd hotel101-hotel-bookings-laravel-react

2 - Install Laravel dependencies

cd backend
composer install

3 - Setup database and Stripe:

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=db_name
DB_USERNAME=db_username
DB_PASSWORD=db_password

STRIPE_KEY=
STRIPE_SECRET=

4 - Migrate, seed , setup oauth2: php artisan migrate --seed php artisan passport:install

5 - Serve Laravel Backend: php artisan serve 6 - Install React dependencies:

cd ..
cd frontend
npm install

7 - Set base url in .env file

REACT_APP_BASE_URL=http://127.0.0.1:8000

8 - Serve React Frontend

npm run serve

Technologies and packages used:

Backend :

Laravel, laravel/passport, guzzlehttp/guzzle

Frontend:

React, TailwindCSS, react-redux, react-router-dom,
react-slick, react-to-print, react-typical,
react-image-lightbox, secure-ls,
@yaireo/tagify, axios, google-maps-react, AOS

Screenshots:

hotel101 homepage

hotel101 featured hotels

hotel101 search

hotel101 hotel page

hotel101 room page

hotel101 booking form

hotel101-hotel-bookings-laravel-react's People

Contributors

yons101 avatar c-zekeri avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.