Skip to content

spcfictdu/hrbms-api

Repository files navigation

HRBMS

Hotel Reservation and Booking Management System

Setup Project

Make a copy of .env using the file env.example and then add your MySQL database credentials to establish a connection.

DB_CONNECTION=mysql
DB_HOST=<database host>
DB_PORT=<database port>
DB_DATABASE=<database name>
DB_USERNAME=<database username>
DB_PASSWORD=<database password>

After setting up the .env run the following commands:

# Install package dependencies 
$ composer install
$ npm i

# Generate the APP_KEY
$ php artisan key:generate

# Clear all composer's cache directories, Update Autoloader and Remove the cached bootstrap files
$ composer clear
$ composer dump-autoload
$ php artisan optimize:clear

# Run the migrations
$ php artisan migrate

# Delete all files in the public storage directory
# $ php artisan storage:clear-public

# Drop all tables and re-run all migrations with seeders
$ php artisan migrate:fresh --seed

# Change the permissions of the storage and cache directories
$ php artisan storage:folder-access

# Create the symbolic links configured for the application
$ php artisan storage:link


# Start the server
$ php artisan serve

Commits

To be able for us to easily track our repository progress please use appropriate emojis at the start of description/message and issue-number at the end to determine type of commit.

Illustration Code Description
💯 :100: Functions, routes, migrations etc.
🔧 :wrench: Add Some Code, Improve Code Structure or Format
🐛 :bug: Bug Fixed
📑 :bookmark_tabs: Add or Edit Comments in your code
:coffee: Initial or Non-important changes
🚧 :construction: Work in Progress
🗑️ :wastebasket: Remove Code and Files
📓 :notebook: Documentation and ReadMe
✏️ :pencil2: Fix Typos, Rename Files, Routes etc
♻️ :recycle: Refactor Code
🔀 :twisted_rightwards_arrows: Merge Branches
:rewind: Revert Changes
📱 :iphone: Work on Responsive Design
📌 :pushpin: Hotfix
#️⃣ #100 Issue number
(version-tag) (v1.2.3-alpha) Hotfix commits Version Tag

Authors (Software Engineers)

  • Lapid, Cathlyn Mae
  • Camaddo, Alexander John
  • Baquing, Aaron Joseph

License

The Laravel framework is open-sourced software licensed under the MIT license.

About

Hotel Reservation and Booking Management System

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5