Native Chat Example using StrongLoop
TypeScript HTML Other
Latest commit a92ecfb Jul 7, 2016 @jonathan-casarrubias Part 4
Permalink
Failed to load latest commit information.
native-chat-api
native-chat-app
.gitignore
README.md

README.md

Native Chat Application Example

This is an example of the blog post The Ultimate Guide For Building RTC Applications;

Install

$ git clone git@github.com:jonathan-casarrubias/native-chat-example.git
$ cd native-chat-api
$ npm install
$ ../native-chat-app
$ npm install

 Run Project

Open 2 terminal windows and start both... The API and App (use device or emulator, your choice)

Terminal 1:

$ cd native-chat-api
$ node .
RTC server listening at ws://0.0.0.0:3000/
Web server listening at: http://0.0.0.0:3000
Browse your REST API at http://0.0.0.0:3000/explorer

Terminal 2:

$ cd native-chat-app
$ tns run android

IMPORTANT: Make sure to update the file: native-chat-app/app/shared/base.api.ts with your local network IP