Skip to content

Blockchain based ecommerce platform built using ReactJS, Solidity and IPFS

Notifications You must be signed in to change notification settings

Karan9034/dopeShop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dopeShop

A local marketplace (like OLX) to buy and sell pre-owned items, but on Web3.

Table of Contents
  1. About The Project
  2. Built With
  3. Getting Started

ℹ️ About The Project

dopeShop is the Web3 alternative of the famous local marketplace OLX. It is basically a very basic eCommerce platform that gives any user to buy and sell products using a Web3 enabled browser and a wallet. There is a plethora of scope for improvement and features to be added.

🛠️ Built With

Following technologies and libraries are used for the development of this project.

📌 Getting Started

To setup the project locally follow the steps below

💻 Prerequisites

🤖 Running the project.

To set this up in the local repository:

  1. Fork and clone the project to your local system
  2. Copy the commands below to install the dependencies:
npm i -g truffle
npm run client:install
npm run truffle:install
  1. Now, start a local Ethereum blockchain network on your system using Ganache. Ganache provides you with 10 testing accounts each with 100 ETH.

  2. Obtain Infura API Key and API Secret for IPFS from Infura Dashboard, and create a dedicated gateway for your project. Set the environment variables in client/.env file.

  3. Then, copy the following commands to deploy the smart contracts to the local Ethereum blockchain and start the React app:

npm run truffle:migrate
npm run client:start
  1. Set up Metamask to connect to the local blockchain created by Ganache(i.e. http://localhost:7545/)

  2. Now, obtain the private keys of some of the accounts from Ganache and import the accounts into Metamask wallet.

  3. You're ready to go. Visit http://localhost:3000/ to check out dopeShop

About

Blockchain based ecommerce platform built using ReactJS, Solidity and IPFS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published