freshers
eCommerce
JavaScript
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
Pay with Ethers
Chat With Seller
Technology
This demo uses:
- Metamask
- Remix Editor
- Truffle
- Alchamy
- ReactJs
- Tailwind UI Kit
- CometChat
- Solidity
- Web3js
- Faucet
Running the demo
To run the demo follow these steps:
-
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.
- Create an Alchemy, Firebase, and CometChat project, copy and paste your key in the spaces below.
-
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>
-
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 βοΈ