diff --git a/readme.md b/readme.md index 1e181cc..e1f97f2 100644 --- a/readme.md +++ b/readme.md @@ -4,6 +4,8 @@ RESTe tries to make sense of the data that comes back but currently it will have problems with invalid JSON data. If you're having any issues with data not being rendered / bound, check it's valid JSON so everything is wrapped as a string. JSON has real issues with numbers -- if it's a normal number it's fine but putting in say 000000 for a property can cause issues in parsing. +Also, make sure you're not using the **app/models** folder or the **** tags -- you *only* need to define your models in the RESTe config, and then use the **dataCollection** property in the repeater. + ## Why? I build a lot of apps that integrate with APIs. These could be written using the open-source Parse Server or a hosted service, but more often they are custom APIs written by another developer. I used to use a basic api.js library to handle the API integration, but this typically involved writing my own module for the API in question, requiring the api.js module, and writing specific methods for the app.