https://github.com/jefferson1104/simulatingvotes-reactjs
An api server built with nodejs and a frontend built with reactjs, this application simulates a vote on who is the best hip-hop singer of all time.
https://github.com/jefferson1104/simulatingvotes-reactjs
javascript node react
Last synced: 29 days ago
JSON representation
An api server built with nodejs and a frontend built with reactjs, this application simulates a vote on who is the best hip-hop singer of all time.
- Host: GitHub
- URL: https://github.com/jefferson1104/simulatingvotes-reactjs
- Owner: jefferson1104
- Created: 2020-11-05T06:12:19.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-27T15:50:40.000Z (about 4 years ago)
- Last Synced: 2025-01-11T14:47:52.252Z (12 months ago)
- Topics: javascript, node, react
- Language: JavaScript
- Homepage:
- Size: 355 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Simulating Votes

# About this project
An API with Node.js that simulates a vote, the front-end made in React.js renders the position of the candidates according to the votes, in this project several concepts were used such as monitoring with setInterval, react hooks for state management with useState and effects with useEffect, functional components, props and children among others.
The materialize, react-flip-move and react-countup libraries were also used.
# How to run this project
```bash
# Clone this repository
$ git clone https://github.com/jefferson1104/simulatingVotes-reactjs.git
```
### Run back-end (API)
```bash
# Access directory back-end of project
$ cd simulatingVotes-reactjs/backend
$ code .
# Install all dependencies
$ yarn
# Run this application
$ yarn start
# Open app at http://localhost:8080
```
### Run front-end (WEB)
```bash
# Access directory front-end of project
$ cd simulatingVotes-reactjs/frontend
$ code .
# Install all dependencies
$ yarn
# Run this application
$ yarn start
# Open app at http://localhost:3000
```
# screenshots
