This is a decentralized version of Amazon.in powered by blockchain and designed using Vite JS.
Snapshots from the project :
Frontend :
- Vite JS
Backend :
- Node JS
- Hardhat Development Environment
- Metamask Wallet
- Ethers JS
- Alchemy
Environment variables :
Create a new .env file inside [backend-hardhat] folder taking reference from .env.example file inside the same.
Backend :
Terminal 1:
- Run (Move inside [backend-hardhat] folder) : cd backend-hardhat
- Run (Running Hardhat node locally) : npx hardhat node
Terminal 2:
- Run (Move inside [backend-hardhat] folder) : cd backend-hardhat
- Run (Running tests | Optional) : npx hardhat test
- Run (Running deployment script) : npx hardhat run scripts/deploy[Todo_Contract_Main].js --network localhost
Update the [config.json] file with the updated contract-address under "31337" "address" feild fetched from Terminal 2.
Frontend :
Terminal 1:
- Run (Move inside [frontend-vite] folder) : cd frontend-vite
- Run (Running frontend on browser): npm run dev
The project is complete but I'm making constant modifications to the project. Please don't forget to put a ⭐ if you like the project.