rohitroy-github / vite-amazon-clone-dapp

A decentralized Amazon.in powered by blockchain.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Amazon Clone Dapp (EVM Based)

This is a decentralized version of Amazon.in powered by blockchain and designed using Vite JS.

Snapshots from the project :


Tech Stack :

Frontend :

  • Vite JS

Backend :

  • Node JS
  • Hardhat Development Environment
  • Metamask Wallet
  • Ethers JS
  • Alchemy

Guide for testing on local hardhat network :

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.

About

A decentralized Amazon.in powered by blockchain.


Languages

Language:JavaScript 70.1%Language:CSS 21.1%Language:Solidity 7.4%Language:HTML 1.4%