SherlockHolmes07 / Marketplace

An ecommerce DApp build on top of Celo Blockchain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Marketplace DApp

It is a ecommerce themed DApp built on top of Celo Blockchain employing solidity smart contracts.

I came up with the submission for dacade.org for celo 101 development


Extra Features Added:

  • Wishlist: Users can create a wishlist of products where they can add different products to their Wishlist and remove them. Users can click Wishlist button on the page to see the products in their Wishlist.

  • Adding Reviews: Users can add reviews in the form of comments for each product and watch others reviews. There is a specified button for each product clicking on which displays other users comments and a textarea where users can post comments.

  • My Listings: There is a MyListings button on the ui clicking on which displays (only and) all the products added by the user.

  • Add Items: At the time of adding product user has to specify the number of items of the product available. If all the items are sold the product will automatically get off the list (no longer displayed on the marketplace). The owner of the product has the privilage of adding more units to the product. This specified feature is available to the Owner of the product on the mylistings page.

  • Delete Product: The Owner of the product only has the privilage to delete the product. Once deleted all the data associated with the product will be gone. This feature is also availabe to the users on the mylistings page.

  • Category: Users can filter the products based on their category and the products belonging only to the category user has selected will be displayed.

Demo :

Go to Marketplace-Dapp



Install


npm install

or


yarn install

Start


npm run dev

Build


npm run build

Usage

  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.

About

An ecommerce DApp build on top of Celo Blockchain


Languages

Language:JavaScript 53.0%Language:HTML 29.6%Language:Solidity 17.4%