E-Voting Platform for decentralized organizations in Ethereum Blockchain
Installation
npm install
To start using this project you would have to open a local blockchain network using Ganache. You can download it from here.
Usage
npm run ganache
This will start a local blockchain network on your machine. You can then deploy the smart contracts to the network using the following command.
npm run migrate
Then, you can start the server using the following command.
npm run dev
Testing
This project uses truffle for testing. You can run the tests using the following command.
npm run test
Typescript
This project uses Typescript. You can compile the Typescript files to Javascript using the following command.
npm run postinstall
or you can use the following commands to generate the types for the smart-contracts
npm run generate-types