Skip to content

ayu06shi/eVendor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ecommerce Website

This is an ecommerce website built using React.js and deployed on Shardeum. It utilizes web3.js for smart contract integration.

Description

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.

Features

  • 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.

Technologies Used

  • 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.

Installation

  1. Clone the repository: git clone https://github.com/your-repo.git
  2. Navigate to the project directory: cd your-project
  3. Install the dependencies: npm install --legacy-peer-deps

Configuration

  1. Rename the .env.example file to .env.
  2. Update the environment variables in the .env file as per your configuration.

Usage

  1. Start the development server: npm run dev
  2. Open the browser and visit https://localhost:5173 to access the website.

Contributing

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature/your-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin feature/your-feature
  5. Submit a pull request.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 78.8%
  • CSS 21.0%
  • HTML 0.2%