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

Added NativeScript examples #459

Open
wants to merge 1 commit into
base: next
Choose a base branch
from
Open

Conversation

triniwiz
Copy link

@triniwiz triniwiz commented May 20, 2016

A simple chat app example of how to integrate Horizon with a NativeScript or NativeScript + Angular 2


This change is Reviewable

@triniwiz triniwiz force-pushed the next branch 2 times, most recently from 53c9cdb to fdb8f3d Compare May 20, 2016 04:57
@deontologician
Copy link
Contributor

This is awesome, thanks for the PR. We will probably be able to check it out next week

@dalanmiller
Copy link
Contributor

@triniwiz I attempted to get some of your examples going but had trouble getting them started. I should be able to go into either of the new folders run hz init and then hz serve --dev and see the app at localhost:8181 correct?

@triniwiz
Copy link
Author

In the examples i presume the user is familiar with nativescript and has it installed on their system already so all they will need to do is install rethinkdb + horizon

hz init nschatApp
cd nschatAPP
hz serve --dev  --allow-unauthenticated true --auto-create-collection true --auto-create-index true
git clone https://github.com/rethinkdb/horizon/examples
cd horizon-nativescript-chat-app
npm i

tns run android or tns run ios

@mglukhovsky
Copy link
Member

@dalanmiller, have you gotten a chance to review this example yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants