Skip to content

chetanck03/DApp.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voting DApp

This is a decentralized voting application built on the Ethereum blockchain. The project consists of two main components:

  • client (frontend)
  • server (backend).

Project Structure

Client

The client folder contains the frontend application built with React. This application allows users to interact with the voting DApp, including casting votes, viewing candidates, and checking results.

Installation

  1. Navigate to the client folder.
cd client
  1. Install the required dependencies using npm :
npm install

Running the Client :

To run the client application locally, use the start command.

npm run dev

The application will be available at http://localhost:5173.

Server

The server folder contains the backend application built with Node.js and Express. It handles requests from the client, manages blockchain interactions, and serves the frontend application.

Installation

  1. Navigate to the server folder.
cd server
  1. Install the required dependencies using npm.
npm install
  1. set up .env file :
MONGO_URL =

Running the Server

To start the backend server, use the start command

npm start

The server will run on http://localhost:3000.

Contract Address :

  1. Erc20 address :
0xc9cE88752f6bAc4E6449938C0ac399d4C16Bb623
  1. Token Marketplace Address :
0x91b3D8F4d1256c79ec9e860e99F9f3415941f9C1
  1. Voting Contract Address :
0x1FeA3eb1D7Bb6f98EF480D4b308b1bB725c53675
  1. Owner Wallet Address :
0x00912Bf03a1d1768C8c256649a805089b672Ac31

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages