Skip to content

RideShare is a decentralized ride-sharing application leveraging React for the frontend and Solidity smart contracts on Ethereum for ride management and user authentication. It includes features like ride creation, search, booking, and request management. The project also integrates Web3.js, Truffle, & Ganache for blockchain interactions and test.

Notifications You must be signed in to change notification settings

badalk121/RideShare

Repository files navigation

RideShare

RideShare is a ride-sharing application that allows users to search for available rides, create their own rides, and manage their ride requests and bookings. The project is built using React for the frontend and includes components for user authentication, ride search, ride creation, and ride management.

Introduction

RideShare is a full-stack application that utilizes the Ethereum blockchain for ride management and user authentication. The project consists of a React frontend and a Solidity smart contract for ride management. The application allows users to search for available rides, create their own rides, and manage their ride requests and bookings.

Tech Stack

The project is built using the following technologies:

  1. React: A JavaScript library for building user interfaces.
  2. Web3.js: A library for interacting with Ethereum blockchain.
  3. Solidity: A programming language for writing smart contracts on the Ethereum blockchain.
  4. Truffle: A development framework for Ethereum.
  5. Ganache: A local Ethereum blockchain for development and testing.

Architecture

The application follows a modular architecture with separate components for user authentication, ride search, ride creation, and ride management. The frontend is built using React and utilizes Redux for state management. The backend is implemented as a Solidity smart contract deployed on the Ethereum blockchain.

Installation

To run the project locally, follow these steps:

Clone the repository:

git clone https://github.com/badalk121/RideShare

Install dependencies:

cd ride-sharing-app
npm install

Start the development server:

npm start

Open the application in your browser:

http://localhost:3000

Usage

Register as a user or log in to your existing account. Search for available rides or create a new ride if you are a driver. Request a ride or manage your existing ride requests. View your ride history and profile.

Testing

To run the tests for the project, follow these steps:

Install dependencies:

cd ride-sharing-app
npm install

Run the tests:

npm test

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

RideShare is a decentralized ride-sharing application leveraging React for the frontend and Solidity smart contracts on Ethereum for ride management and user authentication. It includes features like ride creation, search, booking, and request management. The project also integrates Web3.js, Truffle, & Ganache for blockchain interactions and test.

Topics

Resources

Stars

Watchers

Forks