Skip to content

The Decentralized Voting Application is a cutting-edge project that leverages blockchain technology, MetaMask for secure user authentication, and Discord for real-time notifications and interactions. Developed with NestJS for the backend and ReactJS for the frontend, this application aims to revolutionize the voting experience by providing a secure

License

Notifications You must be signed in to change notification settings

iamnas/Decentralized-Voting-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Decentralized Voting Application (DApp)

A decentralized voting application that integrates with the Ethereum blockchain, MetaMask for user authentication, and Discord for real-time notifications and interactions. The project uses NestJS for the backend and ReactJS for the frontend.

Table of Contents

Introduction

Welcome to the Decentralized Voting Application (DApp). This project empowers users to participate in decentralized voting on the Ethereum blockchain, utilizing MetaMask for secure user authentication and Discord for real-time notifications and interactions.

Features

  • Decentralized Voting: Users can securely cast their votes on the Ethereum blockchain.
  • MetaMask Integration: Seamless user authentication using MetaMask.
  • Real-time Discord Notifications: Stay informed with real-time notifications and interactions on Discord.
  • NestJS Backend: A robust backend built with NestJS for handling business logic and Ethereum interactions.
  • Hardhat Deployment: Smart contracts are deployed using Hardhat for Ethereum blockchain interactions.
  • ReactJS Frontend: A user-friendly frontend built with ReactJS for an interactive voting experience.

Getting Started

Follow these steps to set up and run the project on your local machine.

Prerequisites

Make sure you have the following installed:

Installation

Clone the repository and install dependencies:

    git clone https://github.com/iamnas/Decentralized-Voting-application.git
    cd Decentralized-Voting-application

1. Backend (NestJS)

Navigate to the backend directory and install dependencies:

  cd backend
  npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

2. Smart Contracts (Hardhat)

Navigate to the contract directory and install dependencies:

cd contract
npm install
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node

npx hardhat run --network <network-name > scripts/deploy.ts 
npx hardhat run --network sepolia scripts/deploy.ts 

Test

# unit tests
$ npx hardhat test
3. Frontend (ReactJS)

Navigate to the frontend directory and install dependencies:

  cd frontend
  npm install

Deployment

Deployed Instances

Acknowledgments

We express our gratitude to the open-source community, contributors, and organizations that have inspired and supported the development of this Decentralized Voting Application.

For real-time notifications, discussions, and community engagement, join our Discord server: https://discord.gg/nNmuBqdu

License

This project is licensed under the MIT License.

About

The Decentralized Voting Application is a cutting-edge project that leverages blockchain technology, MetaMask for secure user authentication, and Discord for real-time notifications and interactions. Developed with NestJS for the backend and ReactJS for the frontend, this application aims to revolutionize the voting experience by providing a secure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published