A small project I completed in the summer of 2021 as a birthday gift for my dad containing a collection of phrases he is accustomed to saying.
React
NextJs
MongoDB
When a user enters the site, they are met with a quote and a button. The user has the ability to click on the 'Click Me' button to retirve a quote.
Data is gathered from the MongoDB database using the Fetch API after a user hits the 'Click Me' button.The response from the fetch request is then stored in an array using the React hook useState which is then displayed on the screen.