A few more examples
opened this issue · comments
At the moment the demo works :)
I got it working after a few hours. Great stuff and well abstracted.
But i think that we should add an example that is little more data driven so its easier to play around with Centrifuge.
Use this as a basis.
https://github.com/magicwave/mws_mqtt_client
which currently uses: https://github.com/shamblett/mqtt_client
Its for MQTT but is a good example.
It shows the server connected, and allows you to connect.
It allows you to make new channels / topics, so you can play around.
It allows you to test putting data into those channels and see it coming back.
Maybe add login - it does not have it yet.
Then it would be good to add a few examples to really show off how powerful centrifuge can be !
Maybe we should host here ?
I can start on the following below:
- A Classic Chat app example.
https://github.com/amsokol/flutter-grpc-tutorial
- At the moment it uses GRPC and so i just have to replace that with the centrifuge-dart calls.
- A real time document collaboration.
https://github.com/memspace/zefyr
- It has a real time update mechanism based on Quill Delta and so we can tap into that. There is golang code so we can add that to the golang examples to work in tandem with the Dart code.
- Will add many user cursors later. Just like you see in Google docs.
- A Cal App is a good example also
- So peoples cals stay in sync on their many devices.
@gedw99 I suppose everyone will be happy if you add one or more well crafted examples.