codeInn001 / crowdfund

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AmBu Marketplace Dapp

Description

This is a very simple Ambulance marketplace dapp where users can:

  • See hospitals that offer ambulance services hosted on the Celo Blockchain
  • Order ambulance with cUSD and pay the hospital owner
  • Add your own hospital ambulance services to the dapp

Live Demo

AmbulanceMarketplace Dapp

Usage

Requirements

  1. Install the CeloExtensionWallet from the Google Chrome Store.
  2. Create a wallet.
  3. Go to https://celo.org/developers/faucet and get tokens for the alfajores testnet.
  4. Switch to the alfajores testnet in the CeloExtensionWallet.

Test

  1. Add your hospital.
  2. Create a second account in your extension wallet and send them cUSD tokens.
  3. Order ambulance with secondary account.
  4. Check if balance of first account increased.

Project Setup

Install

npm install

Start

npm run dev

Build

npm run build

About


Languages

Language:JavaScript 49.6%Language:HTML 32.6%Language:Solidity 15.3%Language:CSS 2.5%