🚖 CabRental The CabRental repository is a decentralized vehicle rental platform that provides users with a seamless experience to rent vehicles. It leverages both traditional technologies and Web3 innovations for a secure and modernized booking process.
📝 Description CabRental is a comprehensive vehicle rental platform that allows users to search, book, and manage vehicle rentals. The system is enhanced with Web3 features such as decentralized login using crypto wallets, smart contract-based transactions, and blockchain data handling, providing both flexibility and security.
💻 Technologies Used
Front-end: HTML, CSS, JavaScript
Back-end: Node.js, PHP
Smart Contracts: Solidity
Blockchain Interaction: MetaMask, Web3.js, Ethers.js
Database: MySQL
🌟 Features
Decentralized Login with MetaMask 🔐: Users can sign in using their crypto wallets instead of traditional login methods.
User Registration & Authentication 👤: Includes social media and wallet-based authentication options.
Smart Contract-Based Payments 💰: Payment processing is automated using Solidity smart contracts for secure and transparent transactions.
Vehicle Search & Booking 🚗: Users can search for vehicles by location, type, and availability with real-time checks.
Booking Management 🧾: Manage bookings with the flexibility of blockchain-powered tracking and verification.
Admin Dashboard 👨💼: Admins can manage bookings, view analytics, and use blockchain for transaction verification.
Notifications & Alerts 🔔: Email, SMS, and on-chain notifications for payment confirmations and updates.
User Feedback and Reviews ⭐: Decentralized storage of reviews and ratings, ensuring transparency and immutability using blockchain.
🔧 Installation
To get a local copy up and running, follow these simple steps:
Clone the repo
bash Copy code git clone https://github.com/07sumit1002/CabRental.git Navigate to the Folder
bash Copy code cd CabRental Install Dependencies
bash Copy code npm install composer install Set up MetaMask for Wallet Login
Ensure users have MetaMask installed for decentralized login. Run the Application
Ensure your server supports PHP and Node.js. Open the project in your preferred web server (e.g., XAMPP, WAMP, or Node.js server). Set up the database and blockchain connection as per the config file. 🛠 Web3 Integration Guide Smart Contracts: Use Solidity to create rental agreements, payment processing, and loyalty rewards. Blockchain Interaction: MetaMask is used for wallet login and Web3.js handles blockchain transactions. Backend Services: Node.js manages wallet verification, data requests from the blockchain, and transaction handling. 🤝 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.
Fork the Project
Make your changes in the forked Repository
Commit your changes and push to the forked repository:
bash Copy code git add . git commit -m 'Add some AmazingFeature' git push Open a Pull Request with a proper description of the changes proposed in the PR.