You're about to write a lot of AJAX-backed JavaScript – using jQuery – that will complete our little Doughnut Shop app.
Make use of the fantastic and delicious https://api.doughnuts.ga. Your task is to use your JS skills to list out all the doughnuts in our database and get our form working so we can add more.
Note: Keep in mind, this API doesn't persist (so that other students can use it, too), but it does act like it. When you create a new doughnut, it'll show you results as if that doughnut was persisted. Make use of it!
- Implement a jQuery AJAX client for a simple REST service
- Create a new API resource (a doughnut) from your client
- Update an existing API resource (a doughnut) from your client with new data
- Destroy an existing API resource (a doughnut) from your client
You'll find the starter code in the lab-starter-code folder in your repo. It's a basic index and some styling, along with an empty js/scripts.js.
Make a list of existing doughnuts underneath the form, make the form work, and then, build your app to add to the list of donuts - using the information from newly created donuts - without refreshing the page.
