Skip to content

tutsplus/code-a-mobile-app-with-nativescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code a Mobile App With NativeScript

Instructor: Keyvan Kasaei

NativeScript is a framework for building cross-platform native mobile apps. It allows developers to use Javascript, Typescript or Angular to build apps for IOS & Android. Unlike Cordova, which uses WebView for rendering the UI of the app, NativeScript uses the native platform's rendering engine and accesses the native APIs, so that it provides a truly native user experience.

In this course, Keyvan Kasaei will introduce you to NativeScript, and show you step-by-step how to build a simple application. Along the way you'll learn how to implement a simple app workflow with network requests, an MVVM architecture, and some of the most important NativeScript UI components. By the end, you'll understand why you should consider NativeScript for your next mobile app project.

Source Files Description

This repository contains the source code for the course project. The app is a mini browser for GitHub. Users will login with their GitHub credentials and then are taken to Details screen which shows user profile meta information. Afterward, they can click through to a list of their repositories.

Installation Process:

Windows Machines:

  1. Download & install Node.js.
  2. Install NativeScript Cli
npm install -g nativescript
  1. Install Android requirements
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://www.nativescript.org/setup/win'))"
  1. please redirect to the downloaded folder and do:
tns install
  1. Start the Project
tns run androind   

OSX Machines:

  1. Install Homebrew to simplify the installation process.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  1. Download & install Node.js.
brew install homebrew/versions/node4-lts
  1. Install NativeScript Cli
sudo npm install -g nativescript
  1. Install Ios & Android requirements
ruby -e "$(curl -fsSL https://www.nativescript.org/setup/mac)"
  1. please redirect to the downloaded folder and do:
tns install

To run Android:

tns livesync android --emulator --watch    

To run IOS:

tns livesync ios --emulator --watch    

Resources


These are source files for the Envato Tuts+ course: Code a Mobile App With NativeScript

Available on Envato Tuts+. Teaching skills to millions worldwide.

About

Tutsplus Intoruction to NativeScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published