/OSC-P2P-Carpooling-DAPP

Peer 2 Peer Carpooling Decentralized Application deployed on Ethereum Network

Primary LanguageJavaScript

P2P-Carpooling-DAPP

An alternative cab booking app to apps like Ola, and Uber, which control the working environment for drivers and take a cut from their earnings as commission making life difficult for a regular driver. This P2P Carpooling DAPP will connect drivers directly with customers to share a ride. The transactions will go through on blockchain with the help of smart contracts paid via cryptocurrency. Anyone can register as a driver and publish rides for people to book. Not only does this make the process more hassle-free, but makes it more transparent.


For Further Communications Join Our Discord Server: https://discord.gg/QHQ96vMF


Project Structure

├── LICENSE.md           ->    License file.
|
├── README.md            ->    The top-level README for developers/collaborators using this project.
|
├── build                ->    Compiled Smart Contracts (JSON).
|
├── contracts            ->    Contains two contracts: Migration.sol (to migrate the contract onto blockchain) and ToDoList.sol (the contract responsible for ToDoList transactions).
|
├── Migrations           ->    Pushes the desired files to the blockchain.
│   
├── source               ->    Source code for frontend and JavaScript file linked with the contracts.
    │
    └── images           ->    Images used in frontend part.      
│
├── test                 ->    Test set for testing the DAPP's working.
│
├── package.json         ->    Information regarding name of package and versions of modules used.
│ 
└── truffle-config.js    ->    Port Configuration for Truffle.     

Star & Fork the repository to get started

Workflow

P2P workflow

Set-Up

Here's a brief intro about what a contributor must do in order to start developing the project further:

  1. Open VSCode

  2. Copy the given command

git clone https://github.com/upes-open/OSC-P2P-Carpooling-DAPP.git
  1. Go to the folder according to the issue you are working on and save your work.
git add .
  1. Now commit your changes with a message about it
git commit -m "your message"
  1. Push your changes

  2. Raise your first PR

NOTE: Metamask and other wallets keep on changing the protocols to work with the blockchain to ensure safety. "Deprecated" error might appear in future. Check official Metamask documentation for updates.