ggbaguidi / RentifyHub

RentifyHub is a car rental management application built in PHP with the Laravel framework and a MySQL database that allows complete management of cars, users, and rentals.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RentifyHub - Car Rental Management System

Overview

RentifyHub is a web application developed with PHP, Laravel framework, and MySQL database, aiming to streamline the management of car rentals. This project focuses on handling individuals and a fleet of cars, providing essential features such as:

  • Car Management:

    • Create, modify, and delete entries for cars in the rental fleet.
    • View a list of all cars in the fleet.
  • Rental History:

    • List individuals who have rented a car.
  • Rental Transactions:

    • Allow individuals to borrow and return cars.
  • User Authentication:

    • Users must create an account and be logged in to rent a vehicle.
  • Access Control:

    • Unauthenticated users can view the list of vehicles.
    • Administrative functionalities, such as modification, deletion, and addition of vehicles, are available only to users with administrative profiles.
  • User-Friendly Navigation:

    • All pages include a menu (header) for seamless navigation between different sections.

Database Configuration

RentifyHub uses a MySQL database to store information about cars, users, and rentals. Follow these steps to set up the database:

  1. Create Database User:

    CREATE USER user_rentifyhub IDENTIFIED BY 'passwd_rentifyhub';
  2. Create Database:

    CREATE DATABASE db_rentifyhub;
  3. Grant Privileges:

    GRANT ALL PRIVILEGES ON db_rentifyhub.* TO user_rentifyhub;

Make sure to replace 'passwd_rentifyhub' with a strong password of your choice. Update your .env file in the Laravel project with the corresponding database connection details.

Getting Started

Follow these steps to get RentifyHub up and running on your local environment:

  1. Clone the Repository:

    git clone https://github.com/username/RentifyHub.git
    cd RentifyHub
  2. Install Dependencies:

    composer install
  3. Set Up Database:

    • Create a new MySQL database user and database (follow the instructions above).

    • Copy the .env.example file to .env and configure the database connection with the created user and database.

    • Run migrations and seed the database:

      php artisan migrate --seed
  4. Generate application key

    php artisan key:generate
  5. To create the symbolic link, you may use the storage:link Artisan command

    php artisan storage:link
  6. Start the Development Server:

    php artisan serve
  7. Access the Application: Open your web browser and go to http://localhost:8000 to access RentifyHub.

Contributing

Contributions are welcome! Please follow the guidelines in CONTRIBUTING.md for more details.

License

This project is licensed under the MIT License.

Acknowledgments

About

RentifyHub is a car rental management application built in PHP with the Laravel framework and a MySQL database that allows complete management of cars, users, and rentals.

License:MIT License


Languages

Language:CSS 57.6%Language:JavaScript 20.8%Language:PHP 11.1%Language:Blade 10.5%Language:SCSS 0.0%