Skip to content

2 Hero Module

zarlex edited this page Mar 6, 2017 · 3 revisions

Setting up the Hero Module

In this part we are creating a hero module to manage our heroes.

We are setting up a json-server so we have a very simple basic API for our requests.

Then we are creating a list view to list all existing heroes that are served from our json-server. After that we create a form view to create a new hero or to update an existing one. To delete heroes we add a delete button to our list view, that deletes selected heroes.

v0.1.0

If you want to see the final result checkout out the tag v0.1.0

git checkout v0.1.0

If you want to follow along checkout the tag of the previous version

git checkout v0.0.1

This is what we are going to do:

  1. Setting up the Server
  2. Setting up a proxy
  3. Base Model/Collection
  4. Hero Modules Folder
  5. Hero Model/Collection
  6. Heroes List View
  7. Create New Hero View
  8. Edit Hero View
  9. Delete Hero
  10. Overwrite Default Response Toast
Clone this wiki locally