Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rohitroy-github/vite-amazon-clone-dapp

A decentralized Amazon.in powered by blockchain.
https://github.com/rohitroy-github/vite-amazon-clone-dapp

dapp ethereum ethersjs hardhat solidity vite

Last synced: about 1 month ago
JSON representation

A decentralized Amazon.in powered by blockchain.

Awesome Lists containing this project

README

        

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.