- Problem Statement
- Tech Stack Used
- Running Locally
Today almost everyone is familiar with the name Blockchain, but still sometimes it is thought as the way of investment just like stocks.
To Solve this problem and encourage use of Blockchain in other areas, we thought to build a decentralized app where user will be able to buy/sell items using cryptocurrency(currently Ethereum).
Blockchain:
- Smart contracts: Solidity
- Testing: Ganache and mocha.
- Interaction: Web3
Frontend:
- UI Library: Reactjs
- Styling: Semantic-UI
- Backend and database
- Firebase
-
Setting variables in .env
Create a file.env
, copyexample.env
into.env
. Replace values with your credentials.REACT_APP_API_KEY="" REACT_APP_AUTH_DOMAIN="" REACT_APP_PROJECT_ID="", REACT_APP_STORAGE_BUCKET="" REACT_APP_MESSAGING_SENDER_ID="" REACT_APP_APP_ID=""
-
Frontend part
- Go to Code on Github Desktop of this repository and copy its http link from there.
- Now Open your terminal.
- Navigate to any directory preferred by you through using cd command.
Clone project there by git clone
- Type
cd <name_of_project>
then install packages usingnpm install
- Go to Code on Github Desktop of this repository and copy its http link from there.
-
Blockchain part
- Install metamask extension and set it up.