Carpooling dApp revolutionizes urban transportation by harnessing the power of blockchain technology. This innovative decentralized application facilitates ride-sharing among individuals
- users can register themself
- user can register only one time by a address
- registered user can book ride that is call for car sharing
- registered user can view all available rides
- user can withdraw payment
Tools and Technology Used:
- NodeJs - Node.js is a runtime environment that lets you run JavaScript on servers, enabling fast and scalable applications.
- Express -minimalistic web framework for Node.js, simplifying web app development with efficient routing and middleware.
- MongoDB -flexible NoSQL database, ideal for handling various data types with its document-oriented approach.
- Socket.io - Socket.IO provides real-time, bidirectional communication between clients and servers, enhancing interactive web experiences.
- React - React is a JavaScript library for building dynamic user interfaces, making UI development efficient and engaging.
- Truffle - Truffle is an Ethereum development framework, aiding in creating, deploying, and testing smart contracts.
- Solidity - Solidity is a language for Ethereum smart contracts, allowing the creation of self-executing, decentralized applications.
- Ganache - Ganache is a personal Ethereum blockchain for testing and development, simulating the Ethereum network locally.
- MetaMask - MetaMask is a browser extension enabling secure interaction with Ethereum applications directly from your browser.
Project requires Node.js v18+ to run.
Install the frontend dependencies in client forder
cd client
npm install
npm start
Install the backend dependencies in client forder
npm init -y
npm install express cors nodemon socket.io
For smart Contract Testing and deployment install dependencies in smart-contract folder
Download [Ganache] link_ganache_download & Metamask extension set Workspace in ganache and Integrate it with Metamask
cd smart-contract
npm install -g truffle
truffle init
or
npm install --save-dev @nomicfoundation/hardhat-toolbox
VISIT ME ON