CabRental
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.
Install / Use
/learn @07sumit1002/CabRentalREADME
🚖 CabRental
🚗 CabRental is a decentralized vehicle rental platform using Web3 for enhanced privacy, security, and flexibility. With crypto-wallet authentication 🔐 and smart contract-based transactions 📜, it offers a seamless, transparent, and tamper-proof rental experience.
<table align="center"> <thead align="center"> <tr border: 2px;> <td><b>🌟 Stars</b></td> <td><b>🍴 Forks</b></td> <td><b>🐛 Issues</b></td> <td><b>🔔 Open PRs</b></td> <td><b>🔕 Close PRs</b></td> </tr> </thead> <tbody> <tr> <td><img alt="Stars" src="https://img.shields.io/github/stars/07sumit1002/CabRental?style=flat&logo=github"/></td> <td><img alt="Forks" src="https://img.shields.io/github/forks/07sumit1002/CabRental?style=flat&logo=github"/></td> <td><img alt="Issues" src="https://img.shields.io/github/issues/07sumit1002/CabRental?style=flat&logo=github"/></td> <td><img alt="Open Pull Requests" src="https://img.shields.io/github/issues-pr/07sumit1002/CabRental?style=flat&logo=github"/></td> <td><img alt="Close Pull Requests" src="https://img.shields.io/github/issues-pr-closed/07sumit1002/CabRental?style=flat&color=critical&logo=github"/></td> </tr> </tbody> </table><img src = "images/Cab_rental.png.png" alt = "image"> <img src = "images/canRental2.png.png" alt = "image">
📝 Table of Contents
- 🌟 Features
- 💻 Technologies Used
- 🔧 Installation
- 🛠 Web3 Integration Guide
- 📚 Usage
- 🤝 Contributing
- 📄 License
- 📫 Contact
🌟 Features
| Feature | Description | |----------------------------------|-------------| | Decentralized Login 🔐 | Secure login using MetaMask or any Web3-compatible wallet. | | Smart Contract Payments 💰 | Rental payments and refunds are handled via Ethereum smart contracts for full transparency. | | Vehicle Search & Booking 🚗 | Search for vehicles by location and type with real-time availability. | | Admin Dashboard 👨💼 | Admins can manage all bookings, view usage analytics, and verify transactions. | | Notifications & Alerts 🔔 | Get email, SMS, and on-chain notifications for bookings and payments. | | User Feedback & Reviews ⭐ | Transparent, immutable, and decentralized reviews stored on the blockchain. |
Include feature-related visuals here:
- Vehicle Search Example: A screenshot showing how a user searches for vehicles.
- Smart Contract Payments: A diagram showcasing the blockchain interaction for payment processing.
💻 Technologies Used
| Frontend | Backend | Blockchain | Database | |--------------------------|------------------------|--------------------------|------------------| | HTML, CSS, JavaScript | Node.js, PHP | Solidity, Web3.js, Ethers.js | MySQL | | Bootstrap | Express.js | MetaMask Integration | |
🔧 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 theconfigfile. -
Blockchain Connection:
Configure blockchain connection settings in theconfigfile 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 tohttp://localhost/CabRental(or your configured local server URL) in your web browser.
🛠 Web3 Integration Guide
Smart Contracts
- Written in Solidity to handle booking agreements, payments, and refunds automatically.
- Deployed on Ethereum for enhanced security.
Blockchain Transactions
- Wallet authentication via MetaMask allows decentralized login.
- Web3.js and Ethers.js are used to interact with the smart contracts for seamless blockchain operations.
📚 Usage
User Registration & Authentication:
- Users can register via social media or crypto wallets like MetaMask for enhanced security.
Search and Book a Vehicle:
- Use the search feature to find available vehicles based on your location and preferences.
Manage Bookings:
- View booking details and cancel or modify bookings with real-time updates on the blockchain.
Receive Alerts & Notifications:
- Get notifications via SMS, email, and on-chain updates for bookings, payments, and cancellations.
Admin Dashboard:
- Admins can manage all bookings, analyze platform usage, and verify blockchain transactions.

🤝 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
-
Fork the Project
Click the Fork button at the top right of the repository page. -
Clone Your Fork
git clone https://github.com/your-username/CabRental.git -
Create a New Branch
git checkout -b feature/AmazingFeature -
Make Your Changes
Implement your feature or bug fix. -
Commit Your Changes
git add . git commit -m 'Add some AmazingFeature' -
Push to Your Fork
git push origin feature/AmazingFeature -
Open a Pull Request
Navigate to the original repository and open a pull request with a detailed description of your changes.
Contributors 🤩
<img src="https://contrib.rocks/image?repo=07sumit1002/CabRental" />📄 License
This project is licensed under the MIT License.
📫 Contact
For any inquiries or support, please contact:
- Email: sumitkumar101984@gmail.com
- GitHub: @07sumit1002
⭐ Star the Repo!
If you find this project useful and would like to support the project, please consider giving it a ⭐ star on GitHub! Your support helps us grow and improve. Thank you! 🙌
