parthibl / socket-boilerplate

Minimal necessary boilerplate to set up bi-directional events via web socket between web and native iOS app.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

socket-boilerplate

Socket boilerplate, as the name implies, is a boilerplate setup of a full stack web and iOS application with bi-directional event set up via WebSockets using Socket.io

Gif Demo

To Run

  1. Download the whole repo (web and iOS app)
  2. Navigate to the /web folder and run npm restart to start the node server
  3. Run the iOS app in a simulator (The simulator is required because the application is running on localhost)
  4. You may or may not have to wait a few seconds for the iOS application to connect
  5. Click the like buttons or draw to send notifications back and fourth

Dependencies

iOS

web

About

Minimal necessary boilerplate to set up bi-directional events via web socket between web and native iOS app.


Languages

Language:Swift 90.1%Language:Shell 5.3%Language:JavaScript 2.8%Language:HTML 0.6%Language:Objective-C 0.4%Language:C 0.4%Language:CSS 0.2%Language:Ruby 0.1%