This is my scenario.
- User zipcode and name location
- Load from a API the location list
- Show the place list for user pick the right
- Then bind data to complete registration
First I tried a modal as component. After I see this is incorrect, then I moved to ember-data and do this on the route. I create a ember-data for location list (which be a component) and other for register values. I create the adapter and a serializer. So I completely lost what do next. How I do this, using a ember-data to search places(a GET) and a registration(POST) on the API?
Aucun commentaire:
Enregistrer un commentaire