Skip to content

Repository files navigation

logistics-dApp-on-ethereum

This project builds a web app with an admin dashboard for managing drivers. Admins can create driver accounts, assign tasks, and approve opt-in requests, streamlining logistics operations. The admin dashboard and the smart contract are inspired by Hardhat's dApp starter project Hardhat Boilerplate.

Usage

The first things you need to do are clone this repository and install its dependencies:

git clone https://github.com/natybkl/logistics-dApp-on-ethereum.git
cd logistics-dApp-on-ethereum
npm install

Once installed, let's run Hardhat's testing network:

npx hardhat node

This should bring a result similar to this: image

Then, on a new terminal, go to the repository's root folder and run this to deploy your contract:

npx hardhat run scripts/deploy.js --network localhost

Finally, we can run the admin dashboard with:

cd admin
npm install
npm start

Open http://localhost:3000/ to see your Dapp. You will need to have Coinbase Wallet or Metamask installed and listen to localhost 8545. If you are going to use Metamask, the Chain Id used for localhost 8545 is 331337.

image

About

An Ethereum-based logistics dApp that automates driver payments based on GPS compliance within delivery zones. It features an admin dashboard to manage drivers, assign tasks, and approve opt-in requests. Built with Hardhat, it ensures transparent, secure Web3 transactions to improve logistics efficiency.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages