hyperPad hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    Socket.io Example

    Scheduled Pinned Locked Moved
    WIP and Showcase
    2
    7
    550
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • HamedH
      Hamed Admin
      last edited by

      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=0

      Sockets:
      https://www.dropbox.com/s/qqn0ykzo0ufrdy7/Chat App.tap?dl=0

      1 Reply Last reply Reply Quote 1
      • HamedH
        Hamed Admin
        last edited by Hamed

        This is the server for the chat example

        https://github.com/socketio/chat-example

        iTap DevelopmentI 1 Reply Last reply Reply Quote 1
        • iTap DevelopmentI
          iTap Development @Hamed
          last edited by

          @Hamed wait, you can get servers with GitHub?

          1 Reply Last reply Reply Quote 0
          • HamedH
            Hamed Admin
            last edited by

            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.

            iTap DevelopmentI 2 Replies Last reply Reply Quote 0
            • iTap DevelopmentI
              iTap Development @Hamed
              last edited by

              @Hamed oh Ok!

              1 Reply Last reply Reply Quote 0
              • iTap DevelopmentI
                iTap Development @Hamed
                last edited by

                @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.

                1 Reply Last reply Reply Quote 0
                • HamedH
                  Hamed Admin
                  last edited by

                  @iTap-Development its because its pointing at localhost:8000. Point it at a public server and it should work

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post