Database
Server
Route
- A router will be created with Express using a pool query to send a query to the database. The response will be the results from the database based off the query that was provided.
Redux
- A reducer will be created with a default state and an action; awaiting for the dispatch and return the default or updated state. The store will hold the collection.
Saga
- Holds generator functions that can be used globally throughout the code. With this project, it's axios calls.
React Component
- Could dispatch the action and will used that information as props that can be passed down to the component.