Skip to content

decentralized application (DApp) using Solidity, Node.js, and simple frontend using Vue.js

Notifications You must be signed in to change notification settings

asiye/Voting-DApp

Repository files navigation

Voting DApp Backend

This is the backend part of a decentralized application (DApp) built on the Ethereum blockchain. The backend is developed using Node.js and Express, and it interacts with a smart contract deployed on a local Ethereum blockchain using Ganache.

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js (version 12 or higher)
  • Ganache (for local Ethereum blockchain)
  • Truffle (for compiling and deploying smart contracts)

Getting Started

1. Clone the repository

git clone https://github.com/YOUR_GITHUB_USERNAME/Voting-DApp.git
cd Voting-DApp/backend

Install the necessary Node.js dependencies:
npm install

Ensure Ganache is running on http://localhost:7545. Then, compile and deploy the smart contract using Truffle:
truffle compile
truffle migrate

Start the backend server:
node server.js

About

decentralized application (DApp) using Solidity, Node.js, and simple frontend using Vue.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published