https://github.com/wapnen/hotel-booking
Laravel, Vue app backend/admin panel for hotel booking
https://github.com/wapnen/hotel-booking
Last synced: 3 months ago
JSON representation
Laravel, Vue app backend/admin panel for hotel booking
- Host: GitHub
- URL: https://github.com/wapnen/hotel-booking
- Owner: wapnen
- Created: 2019-09-17T21:23:34.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T10:38:07.000Z (over 2 years ago)
- Last Synced: 2025-03-14T21:37:55.126Z (4 months ago)
- Language: PHP
- Size: 3.93 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Prerequisites
- After cloning this repository, go to the root folder, run the following command/s,
```
composer install
composer update
``` - Rename .env.example to .env and provide your database details there.
- Laravel manages the frontend tools like vue using npm. So run
npm install
to get all the required dependencies. - Run
php artisan key:generate
Run the following command to migrate the Database
```
php artisan migrate
```
Seed the hotel using the following command
```
php artisan db:seed
```
The project uses jwt for authentication. Run the following command to generate a jwt secret
```
php artisan jwt:secret
```