E-Voting apps using blockchain

Undergraduate Thesis Research of Tryo Asnafi

Tools and Language use

  1. Hardhat
  2. Solidity
  3. TypeScript
  4. Next.js
  5. Firebase Firestore

Prerequisite

  1. Firebase API KEY, you need to make new firebase project

How to Run

  1. Clone the repository
  2. Open folder backend
cd backend
npm install
npx hardhat clean
npm run node
  1. Open another terminal
npm run compile
npm run deploy
  1. Open folder frontend
cd frontend
  1. Copy .env.example to .env
cp .env.example .env
  1. Fill env with your Firebase config
  2. Run development server
npm run dev
  1. Open localhost:3000 in your browser