This is an ecommerce website built using React.js and deployed on Shardeum. It utilizes web3.js for smart contract integration.
The project aims to provide a platform for local roadside vendors to sell their goods to nearby customers. The website features a vendor portal with translation options and a form to update the list of items for sale. Customers can search for vendors based on categories and find the desired hawkers according to their search queries. Payment is facilitated through Metamask, with options for partial and full payments.
- Vendor Portal: Provides a dedicated portal for roadside vendors to manage their selling item lists and update them as needed.
- Translation Options: Supports translation functionality in the vendor portal for better accessibility.
- Category-based Search: Allows customers to search for vendors based on specific categories, making it easier to find relevant hawkers.
- Metamask Integration: Enables customers to make payments using Metamask, providing options for both partial and full payments.
- React.js: A JavaScript library for building user interfaces.
- Shardeum: The deployment platform used for hosting the ecommerce website.
- web3.js: A JavaScript library for interacting with Ethereum and smart contracts.
- Solidity:Used for writing smart contracts
- Metamask: A cryptocurrency wallet and gateway for interacting with the Ethereum network.
- Clone the repository:
git clone https://github.com/your-repo.git
- Navigate to the project directory:
cd your-project
- Install the dependencies:
npm install --legacy-peer-deps
- Rename the
.env.example
file to.env
. - Update the environment variables in the
.env
file as per your configuration.
- Start the development server:
npm run dev
- Open the browser and visit
http://localhost:5173
to access the website.
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature/your-feature
- Submit a pull request.