Git Product home page Git Product logo

sample-groceries's Introduction

Groceries Build Status dependency status devDependency Status

Groceries is a NativeScript-built iOS and Android app for managing grocery lists. You can learn how to build a version of this app from scratch using either our JavaScript getting started guide, or our TypeScript and Angular 2 getting started guide.

Branches

This repository contains a number of branches:

  • The master branch shows how to build a robust, real-world app using NativeScript. The branch is built with TypeScript and Angular 2.



Screenshots

Development

This app is built with the NativeScript CLI. Once you have the CLI installed, start by cloning the repo:

$ git clone https://github.com/NativeScript/sample-Groceries.git
$ cd sample-Groceries

Next, install the app's iOS and Android runtimes, as well as the app's npm dependencies:

$ tns install

From there you can use the run command to run Groceries on iOS:

$ tns run ios --emulator

And the same command to run Groceries on Android:

$ tns run android --emulator

Finally, use the livesync command to push out changes to your app without having to go through the full build cycle:

$ tns livesync ios --emulator --watch
$ tns livesync android --emulator --watch

Linting

Groceries uses tslint + codelyzer rules to ensure the code follows the angular style guide.

You can run the linter with the tslint npm script:

$ npm run tslint

Unit Testing

Groceries uses NativeScript’s integrated unit test runner with Jasmine. To run the tests for yourself use the tns test command:

$ tns test ios --emulator
$ tns test android --emulator

For more information on unit testing NativeScript apps, refer to the NativeScript docs on the topic.

Travis CI

Groceries uses Travis CI to verify all tests pass on each commit. Refer to the .travis.yml configuration file for details.

Telerik Platform

If you’d like to try developing Groceries without going through the full setup, you may be interested in loading the app in the Telerik Platform:

Contributors

The following is a list of all the people that have helped build Groceries. Thanks for your contributions!

tjvantollhdeshevvakrilovMitko-Kerezovjlooperrosen-vladimirov

ligazSvetoslavTsenovnadyaAdtopuzovcovex-nnNathanWalker

nsndeckTsvetanMilanovvalentinstoychevbradmartincmelo

sample-groceries's People

Contributors

tjvantoll avatar hdeshev avatar jlooper avatar rosen-vladimirov avatar svetoslavtsenov avatar ligaz avatar wdulin avatar dtopuzov avatar nadyaa avatar covex-nn avatar bundyo avatar mitko-kerezov avatar nathanwalker avatar tsvetanmilanov avatar bradmartin avatar cmelo avatar

Watchers

James Cloos avatar iguissouma avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.