Create a single page application, using backbone, to interact with the Pets API. Instead of having static data written in app.js and losing data any data entered through the browser,
This is an exercise to practice integrating an API into a backbone application while building the model, controller and views. This exercise will not be turned in.
- Review creating backbone components
- Models
- Controllers
- Views
- Use backbone to read data from an API
- Create and update data to an API, through backbone
- Fork and clone this repository
- cd into
pets-api-exercise-backbone
- Run
npm install
andnpm start
in terminal
Files for the Backbone components and some HTML has already been setup for you. Review the index.html
and the /src/app
directory before starting.
Utilize the available endpoints of the Pets API to implement the following features (prioritize bolded items):
- Show a list of pets
- Show information on a specific pet
- Create a new pet
- Delete a pet
- Update if a pet has been vaccinated
- Hint: Read more about the checkbox input element