Project Setup
To begin, let’s clone the frontend project repository from GitHub. Proceed to run the following command in the capstone_aelf directory.
Terminal
git clone https://github.com/AElfProject/vote-contract-frontend.git
Next, proceed to navigate to the frontend project directory by running the following command.
Terminal
cd Developer_DAO
Once you are in the Developer_DAO directory, proceed to open the project with your desired IDE (i.e VSCode) and you should observe the following as shown below.
Preview of Working Directory
Before we begin writing the code for the respective frontend components, we will first need to install the necessary libraries and dependencies!
To do so, proceed to run the following command on the terminal.
Terminal
npm install
We are now ready to build the frontend components of our Voting dApp!