| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Mockup an android app which can talk to WebSocket backend.
The background of the challenge is to achieve realtime data synchronization bewteen the app and backend, e.g UI update when data changes.
To save your time setting up the test environment. We've prepared a preconfigured online server as well as a simple debug client
In your app, you may connect to the online server or setup one locally from socket-io-faker. And play it with ThreePin to get familiar with its behaviour.
The fake server will respond to following operation.
It will also publish an update on guest status every 10 seconds
Please note that
Create an android app which can
All messages are emit and listened on event 'api'. The content of the message is as following
{
"op": "version",
"payload": "v1"
}
See sample messages for more.
The server will respond in following format
{
"op": "out",
"payload": {
"version": "v1",
"methods": ["create", "currentUser", "find", "findOne", "login",
"logout", "remove", "sync", "update", "version"
]
}
}
See answering rules of the fake server for details.
| Back | FazBrowse Home | New Git URL |