Skip to content

tlacuilose/kobasu

Repository files navigation

(ne) Kobasu

A web3 ridesharing service.

  • A driver pubilshes a slot of time when they are available to provide ridesharing. Defining: period, seats and cost
  • The passengers send their bids
  • The passengers are notified wether their bids were accepted or not
  • The driver starts the trip and the passegers are notified
  • When the trip is completed, the driver and the passengers finish the trip


Table of contents


Project execution

How To run

  1. Download the source code from github
git clone https://github.com/tlacuilose/kobasu.git
  1. Go to the project directory
cd kobasu
  1. Install project dependencies
npm install
  1. Execute the web application
npm start

Ethereum environment

  1. Install truffle, this is a tool for uploading Contracts and starting a eth local node.
npm install -g truffle
  1. Go to nekobasu inside the project directory
cd kobasu/nekobasu
  1. Start truffle development
truffle develop
  1. Deploy contract in Truffle cli
migrate --reset

MetaMask Configuration

  1. Install MetaMask in your browser

MetaMask download page

  1. Add the Truffle network into MetaMask

Add network

Switch network

  1. Import accounts into MetaMask

Truffle accounts

Import account

Switch account