Skip to content

Latest commit

 

History

History
16 lines (8 loc) · 694 Bytes

README.md

File metadata and controls

16 lines (8 loc) · 694 Bytes

Happy Thoughts

This assignment involves fetching and posting data into an API from React, putting data into a state and using the 'useEffect' hook in React to perform actions when components mount, unmount, or when state changes.

The problem

I started with making a ThoughtsList component that maps through all the thoughts currently in the API and displays them, followed by a ThoughtForm component that displays a form for the user to enter their own happy tought, which is them added to the list.

View it live

https://happy-thoughts.brucette.com/

Backend API built and connected to this frontend project later on: https://project-happy-thoughts-api-d6aenh5q2a-lz.a.run.app