Skip to content

The Cab Rental repository is a software system that provides a platform for individuals to rent vehicles for transportation. It is designed to offer an easy and seamless experience for users to book a ride.

License

Notifications You must be signed in to change notification settings

Manishkumarsingh41/CabRental

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚖 CabRental

License: MIT Last Commit GitHub Issues GitHub Pull Requests

📝 Table of Contents

📝 Description

CabRental is a decentralized vehicle rental platform that offers users a seamless and secure experience for renting vehicles. By integrating traditional technologies with cutting-edge Web3 innovations, CabRental ensures a modernized and trustworthy booking process. Key Web3 features include decentralized login via crypto wallets, smart contract-based transactions, and blockchain data handling, enhancing both flexibility and security.

🌟 Features

  • Decentralized Login with MetaMask 🔐
    Users can sign in using their crypto wallets instead of traditional login methods, enhancing security and privacy.

  • User Registration & Authentication 👤
    Supports both social media and wallet-based authentication options for versatile user access.

  • Smart Contract-Based Payments 💰
    Automated payment processing using Solidity smart contracts ensures secure and transparent transactions.

  • Vehicle Search & Booking 🚗
    Users can search for vehicles by location, type, and availability with real-time checks for a smooth booking experience.

  • Booking Management 🧾
    Manage bookings with blockchain-powered tracking and verification for enhanced reliability.

  • Admin Dashboard 👨‍💼
    Admins can manage bookings, view analytics, and verify transactions using blockchain technology.

  • Notifications & Alerts 🔔
    Receive email, SMS, and on-chain notifications for payment confirmations and updates.

  • User Feedback and Reviews ⭐
    Decentralized storage of reviews and ratings ensures transparency and immutability using blockchain.

💻 Technologies Used

  • Front-end:

    • HTML
    • CSS
    • JavaScript
  • Back-end:

    • Node.js
    • PHP
  • Smart Contracts:

    • Solidity
  • Blockchain Interaction:

    • MetaMask
    • Web3.js
    • Ethers.js
  • Database:

    • MySQL

🔧 Installation

Follow these steps to set up a local copy of CabRental:

1. Clone the Repository

git clone https://github.com/07sumit1002/CabRental.git

2. Navigate to the Project Directory

cd CabRental

3. Install Dependencies

npm install composer

4. Set Up MetaMask for Wallet Login

  • Ensure that you have the MetaMask extension installed in your browser for decentralized login functionality.
  • Run the application

5. Configure the Environment

  • Server Requirements:
    Ensure your server supports PHP and Node.js.

  • Database Setup:
    Set up the MySQL database and configure the connection details as specified in the config file.

  • Blockchain Connection:
    Configure blockchain connection settings in the config file to interact with the smart contracts.

6. Run the Application

  • Using a Local Server:
    Open the project in your preferred web server (e.g., XAMPP, WAMP, or a Node.js server).

  • Access the Application:
    Navigate to http://localhost/CabRental (or your configured local server URL) in your web browser.

🛠 Web3 Integration Guide

Smart Contracts

  • Language: Solidity
  • Purpose: Create rental agreements, handle payment processing, and manage loyalty rewards.

Blockchain Interaction

  • Wallet Integration: MetaMask is used for decentralized wallet login.
  • Library: Web3.js handles all blockchain transactions and interactions.

Backend Services

  • Runtime: Node.js
  • Functions:
    • Manage wallet verification
    • Handle data requests from the blockchain
    • Process transactions securely

📚 Usage

  1. User Registration:
    Users can register and authenticate using their preferred method (social media or crypto wallet).

  2. Search & Book Vehicles:
    Utilize the search feature to find available vehicles based on location, type, and availability.

  3. Manage Bookings:
    View and manage your bookings through the user dashboard, with real-time updates and blockchain verification.

  4. Admin Management:
    Admins can oversee all bookings, analyze usage data, and verify transactions through the admin dashboard.

  5. Receive Notifications:
    Stay informed with real-time notifications regarding your bookings and payments.

🤝 Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

How to Contribute

  1. Fork the Project
    Click the Fork button at the top right of the repository page.

  2. Clone Your Fork

    git clone https://github.com/your-username/CabRental.git
  3. Create a New Branch

    git checkout -b feature/AmazingFeature
  4. Make Your Changes
    Implement your feature or bug fix.

  5. Commit Your Changes

    git add .
    git commit -m 'Add some AmazingFeature'
  6. Push to Your Fork

    git push origin feature/AmazingFeature
  7. Open a Pull Request
    Navigate to the original repository and open a pull request with a detailed description of your changes.

📄 License

This project is licensed under the MIT License.

📫 Contact

For any inquiries or support, please contact:


About

The Cab Rental repository is a software system that provides a platform for individuals to rent vehicles for transportation. It is designed to offer an easy and seamless experience for users to book a ride.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 57.6%
  • CSS 29.3%
  • JavaScript 5.7%
  • Python 3.5%
  • PHP 2.7%
  • PowerShell 1.2%