Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.54 KB

File metadata and controls

43 lines (28 loc) · 1.54 KB

Ron Swanson Quote Voter

The Ron Swanson Quote Voter is a list of quotes from Parks and Recreation for users to vote on their favorite quotes by clicking on the thumbs up and thumbs down buttons. A count of the votes is captured in the total votes section in the header. The vote data is stored locally. When the page is refreshed, a new set of quotes is generated in a random order, and a new total vote count is calculated.

Ron Swanson API

https://ron-swanson-quotes.herokuapp.com/v2/quotes/50
(will display 50 quotes)

Built with:

React
React Bootstrap
React Redux
Visual Studio Code Editor

References/Resource

Consuming REST APIs In React With Fetch And Axios:
https://www.smashingmagazine.com/2020/06/rest-api-react-fetch-axios/
https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch

React Bootstrap for Header List of Quotes:

https://react-bootstrap.github.io/components/
https://reactjs.org/
https://developer.mozilla.org/en-US/

React Redux:

https://react-redux.js.org/
React The Complete Guide Course by Academind by Maximilian Schwarzmüller:
https://udemy.com/
https://www.robinwieruch.de/javascript-reducer

Unit Testing with Jest and Enzyme:

A Practical Guide To Testing React Applications With Jest:
https://www.smashingmagazine.com/2020/06/practical-guide-testing-react-applications-jest/
https://css-tricks.com/testing-react-hooks-with-enzyme-and-react-testing-library/
https://dzone.com/articles/unit-testing-in-reactjs-using-jest-and-enzyme