π 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.
π Stars | π΄ Forks | π Issues | π Open PRs | π Close PRs |
- π Features
- π» Technologies Used
- π§ Installation
- π Web3 Integration Guide
- π Usage
- π€ Contributing
- π License
- π« Contact
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.
Frontend | Backend | Blockchain | Database |
---|---|---|---|
HTML, CSS, JavaScript | Node.js, PHP | Solidity, Web3.js, Ethers.js | MySQL |
Bootstrap | Express.js | MetaMask Integration |
Follow these steps to set up a local copy of CabRental:
git clone https://github.com/07sumit1002/CabRental.git
cd CabRental
npm install composer
- Ensure that you have the MetaMask extension installed in your browser for decentralized login functionality.
- Run the application
-
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 theconfig
file. -
Blockchain Connection:
Configure blockchain connection settings in theconfig
file to interact with the smart contracts.
-
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.
- Written in Solidity to handle booking agreements, payments, and refunds automatically.
- Deployed on Ethereum for enhanced security.
- Wallet authentication via MetaMask allows decentralized login.
- Web3.js and Ethers.js are used to interact with the smart contracts for seamless blockchain operations.
- Users can register via social media or crypto wallets like MetaMask for enhanced security.
- Use the search feature to find available vehicles based on your location and preferences.
- View booking details and cancel or modify bookings with real-time updates on the blockchain.
- Get notifications via SMS, email, and on-chain updates for bookings, payments, and cancellations.
- Admins can manage all bookings, analyze platform usage, and verify blockchain transactions.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
-
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.
This project is licensed under the MIT License.
For any inquiries or support, please contact:
- Email: sumitkumar101984@gmail.com
- GitHub: @07sumit1002
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! π