This project is a full-stack DApp built with Solidity, Node.js, Express, MongoDB, React, and Next.js. It serves as a platform for users to interact with the smart contract by creating orders [Supplier], starting and stopping deliveries [Delivery company], and accepting and denying orders [Customer], all within a blockchain-based environment.
- Backend: Node.js and Express
- Database: MongoDB
- Frontend: React and Next.js
- Development Tools: Truffle, Ganache (CLI and GUI), Nodemon, Remix IDE
- Connect to MetaMask for wallet integration
- Store and retrieve tasks from a MongoDB database while also storing on the blockchain, obviously...
- Interact with the Ethereum smart contract
- User-friendly React frontend with Next.js for server-side rendering
To run this application, you will need to install the following tools:
- Truffle: A development framework for Ethereum
- Ganache: A local blockchain for Ethereum
- Ganache CLI
- Ganache GUI
- Nodemon: Restarts the server when file changes are detected.
- Remix IDE: Web-based IDE for writing, testing, and deploying smart contracts.
Run the following commands to install the required tools globally:
# Install Truffle
npm install -g truffle
# Install Ganache CLI
npm install -g ganache-cli
# Install Nodemon
npm install -g nodemon
#Install Modules
npm install