Daltonic / freshers

A decentralized ecommerce application that demonstrate how to integrate DeFi payments in your e-shop
https://fresher-a5113.web.app/
36 stars 18 forks source link
decentralized-applications ecommerce-platform reactjs solidity

How To Build A Decentralized Ecommerce Platform with React and Solidtiy

Read the full tutorial here: >> How To Build A Decentralized Ecommerce Platform with React and Solidtiy

This example shows How To Build A Decentralized Ecommerce Platform with React and Solidtiy:

Add New Product

Add New Product

Pay With Ethers

Pay with Ethers

Chat with Seller

Chat With Seller

Technology

This demo uses:

Running the demo

To run the demo follow these steps:

  1. Clone the project with the code below.

    
    # Make sure you have the above prerequisites installed already!
    git clone https://github.com/Daltonic/freshers.git freshers
    cd frehsers # Navigate to the new folder.
    yarn install # Installs all the dependencies.
  2. Create an Alchemy, Firebase, and CometChat project, copy and paste your key in the spaces below.
  3. Update the .env file with the following details.

    ENDPOINT_URL=<PROVIDER_URL>
    SECRET_KEY=<SECRET_PHRASE>
    DEPLOYER_KEY=<YOUR_PRIVATE_KEY>
    
    REACT_APP_COMET_CHAT_REGION=<LOCATION>
    REACT_APP_COMET_CHAT_APP_ID=<APP_ID>
    REACT_APP_COMET_CHAT_AUTH_KEY=<AUTH_KEY>
    
    REACT_APP_FB_AUTH_KEY=<AUTH_KEY>
    REACT_APP_FB_APP_ID=<APP_ID>
  4. Run the app using yarn start

If your confuse about the installation, check out this TUTORIAL to see how you should run it.

Questions about running the demo? Open an issue. We're here to help ✌️

Useful links