Added JokeService to handle requesting Jokes from the backend's endpoint
The landing page by default requests 9 jokes from said endpoint
Added a 'Load More' button that requests for more jokes, the react state now keeps track of current index, and disabling the load more button until the request is fulfilled
requests now proxy to the backend port 1337, although this is temporary.
This PR has the following changes:
Added
JokeService
to handle requesting Jokes from the backend's endpointThe landing page by default requests 9 jokes from said endpoint
Added a 'Load More' button that requests for more jokes, the react state now keeps track of current index, and disabling the load more button until the request is fulfilled
requests now proxy to the backend port
1337
, although this is temporary.Can now delete, edit, and add new jokes.