Socket.io Example
-
Hey all,
We haven't gotten around to making a proper HTTP request or Socket.io tutorial yet, but maybe these projects can be a good start to see how it works.
HTTP:
https://www.dropbox.com/s/wpfnhiecfmrfh8d/HTTP Request Tests.tap?dl=0Sockets:
https://www.dropbox.com/s/qqn0ykzo0ufrdy7/Chat App.tap?dl=0 -
This is the server for the chat example
-
@Hamed wait, you can get servers with GitHub?
-
No, the code for the server is on github. You still need to deploy it yourself. If you press that heroku button on that page, it will pretty much deploy it for you.
-
@Hamed oh Ok!
-
@Hamed the chat app isn't getting the messages I send. It stays blank.
Also, with authentication test, I don't have to authenticate for the friends list to show up. -
@iTap-Development its because its pointing at localhost:8000. Point it at a public server and it should work
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login