Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How will the connection between Flutter and Phoenix be made? #25

Closed
miguelmartins17 opened this issue Feb 8, 2020 · 2 comments
Closed
Labels
question Further information is requested starter

Comments

@miguelmartins17
Copy link
Collaborator

I would like to know more about this because I never understood how the connection between the two could be made.

@nelsonic nelsonic transferred this issue from dwyl/app Feb 8, 2020
@nelsonic nelsonic added question Further information is requested starter labels Feb 8, 2020
@nelsonic
Copy link
Member

nelsonic commented Feb 8, 2020

@miguelmartins17 good question. The Flutter App will make HTTP Requests to the Phoenix REST API.
That's why I created #6 to test how easy/difficult it is to make a REST API request. 👍
Once we have got the REST Requests working we will need to implement WebSockets for "real time" interactions. Phoenix's "superpower" is making WebSockets easy.
See: https://flutter.dev/docs/cookbook/networking/web-sockets

@miguelmartins17
Copy link
Collaborator Author

Now I understand how it's gonna work. Thank you! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested starter
Projects
None yet
Development

No branches or pull requests

2 participants