Coder Social home page Coder Social logo

mridulgoel03 / election-dapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jivin0902/election-dapp

0.0 0.0 0.0 38.04 MB

An Election Dapp for the Shardeum workshop conducted in New Delhi

Shell 0.31% JavaScript 61.83% CSS 32.48% Solidity 5.37%

election-dapp's Introduction

Election-DApp

An Election Dapp for the Shardeum workshop conducted in New Delhi

Prerequisites

  1. You need to have node.js, npm and yarn installed on your device.
  2. To download them, head over to https://nodejs.org
  3. After Installing, make sure you have node, type node -v in your terminal/command prompt.
  4. Type npm -v to check you have npm.
  5. To install yarn, type npm install yarn in your terminal/Command line.

Setting up the Development Environment

  1. In your terminal/Command line, clone the repository using the git clone command
  2. cd into the ui folder and then type yarn install -> This will install all required packages to run the frontend.
  3. Open the .env file in the ui folder and add the deployed contract address done in the workshop NEXT_PUBLIC_CONTRACT_ADDRESS=<YOUR_CONTRACT_ADDRESS_HERE>.
  4. In the ui directory, run the command, yarn dev. This will open the dapp on your localhost.
  5. Visit http://localhost:3000

election-dapp's People

Contributors

jivin0902 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.