Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Getting Started with NativeScript

You're reading from   Getting Started with NativeScript Explore the possibility of building truly native, cross-platform mobile applications using your JavaScript skill—NativeScript!

Arrow left icon
Product type Paperback
Published in Jan 2016
Publisher
ISBN-13 9781785888656
Length 168 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
 Anderson Anderson
Author Profile Icon Anderson
Anderson
Arrow right icon
View More author details
Toc

Trying out our application


Are you ready! Our application is now fully ready for you to actually test its functionality. It not only has a settings screen, but also has the ability to communicate with a server to exchange messages. So, the only piece missing is a server. Guess what, we have one of those too. Let's check out the next piece and get the communication server up and running.

The server

The server code itself won't be discussed in this book as it is not relevant to learning NativeScript. It is in JavaScript, so feel free to look at it. It is downloadable from the same example repo that contains all the example in this book, located at https://github.com/GettingStartedWithNativeScript. In the event you want to run your own server or, for some reason, the test server on nativescript.rocks:3000 is not running, the following instructions will help you set up and connect to your own server.

Setting up your own server

To set up the server follow the given steps:

  1. Once you have downloaded...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images