https://github.com/pazuzu111/dev-ote
https://github.com/pazuzu111/dev-ote
api-manipulation crud express react server
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pazuzu111/dev-ote
- Owner: pazuzu111
- Created: 2017-11-05T03:45:27.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-27T15:03:31.000Z (over 8 years ago)
- Last Synced: 2025-05-15T04:08:19.037Z (about 1 year ago)
- Topics: api-manipulation, crud, express, react, server
- Language: JavaScript
- Homepage: http://dev-ote.surge.sh/
- Size: 860 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# dev-ote
happy hour voting app, click on bar for info on bars happy hours,
click vote, sit back and watch the votes increment in real time
# stack
- express server
- react front end deployed to surge
- self created api pushed to heroku


# still working on additions
- bar graph for results
# inner workings
1) user lands on page
2) browser makes request to external api to receive infomation about bars(mayb take a few seconds
data to be sent back due to heroku app not being used so much, so the dyno falls a sleep and becomes slow with a response
3) when user clicks on vote, they make a put request to update the number of votes a bar has
4) server responds with new incremented value