This application build with Laravel 5.8. Frontend booking build with ReactJS and have the following features:
- Back-end Management
- API integrated. With simple authentication token can make reservation. API authentication Protected by Laravel Passport.
- Backend Authentication Protect by Laravel Authentication
- CRUD functionalities for Hotels, Rooms, Room Types, Room Capacities.
git clone [repourl]
cd repodir
npm install
composer install
composer dump-autoload
Create .env file
cp .env.example .env
Edit .env file with database information and then
php artisan config:cache
php artisan migrate
php artisan db:seed
# for build the frontend
npm run dev
#run the application
php artisan serve
# now you shoud see the booking from here:
http://localhost:8080
This application is now fully-functional but still have some points which will need to update and they are:
- Create Backend Manager for Room Prices
- Cleanup codes [mainly remove the un-used react packages]