Skip to content

Latest commit

 

History

History
68 lines (48 loc) · 2.26 KB

README.md

File metadata and controls

68 lines (48 loc) · 2.26 KB

P2P-Carpooling-DAPP

An alternative to apps like Ola, Uber, who control the working environment for drivers and take a cut from their earnings which makes life difficult for a normal 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 and will be paid for via cryptocurrency. Anyone can register as a driver and publish rides for people to book.


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 terminal
git clone <link to your forked repo>
  1. Go to folder according to the issue you are working and save your work
git add .
  1. Now commit your changes
git commit -m "your message"
  1. 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.