# sample-Groceries **Repository Path**: mirrors_NativeScript/sample-Groceries ## Basic Information - **Project Name**: sample-Groceries - **Description**: :green_apple: :pineapple: :strawberry: A NativeScript-built iOS and Android app for managing grocery lists - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-01-06 - **Last Updated**: 2026-01-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Groceries [![Build Status](https://travis-ci.org/NativeScript/sample-Groceries.svg?branch=master)](https://travis-ci.org/NativeScript/sample-Groceries) 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](http://docs.nativescript.org/tutorial/chapter-0), or our [TypeScript and Angular getting started guide](http://docs.nativescript.org/angular/tutorial/ng-chapter-0). * [Screenshots](#screenshots) * [Development](#development) * [Linting](#linting) * [Unit testing](#unit-testing) * [Travis CI](#travis) * [Contributors](#contributors)

Screenshots

![](assets/screenshots/ios-1.png) ![](assets/screenshots/ios-2.png) ![](assets/screenshots/ios-3.png) ![](assets/screenshots/android-1.png) ![](assets/screenshots/android-2.png) ![](assets/screenshots/android-3.png)

Development

This app is built with the NativeScript CLI. Once you have the [CLI installed](https://docs.nativescript.org/start/quick-setup), start by cloning the repo: ``` $ git clone https://github.com/NativeScript/sample-Groceries.git $ cd sample-Groceries ``` From there you can use the `run` command to run Groceries on iOS: ``` $ tns run ios ``` And the same command to run Groceries on Android: ``` $ tns run android ```

Linting

Groceries uses [tslint](https://www.npmjs.com/package/tslint) + [codelyzer](https://github.com/mgechev/codelyzer) rules to ensure the code follows the [angular style guide](https://angular.io/docs/ts/latest/guide/style-guide.html). You can run the linter with the `tslint` npm script: ``` $ npm run tslint ```

Unit Testing

Groceries uses NativeScript’s [integrated unit test runner](http://docs.nativescript.org/core-concepts/testing) with [Jasmine](http://jasmine.github.io/). 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](http://docs.nativescript.org/core-concepts/testing).

Travis CI

Groceries uses [Travis CI](https://travis-ci.org/) to verify all tests pass on each commit. Refer to the [`.travis.yml` configuration file](https://github.com/NativeScript/sample-Groceries/blob/release/.travis.yml) for details.

Contributors

The following is a list of all the people that have helped build Groceries. Thanks for your contributions! [tjvantoll](https://github.com/tjvantoll)[hdeshev](https://github.com/hdeshev)[vakrilov](https://github.com/vakrilov)[Mitko-Kerezov](https://github.com/Mitko-Kerezov)[jlooper](https://github.com/jlooper)[rosen-vladimirov](https://github.com/rosen-vladimirov) [SvetoslavTsenov](https://github.com/SvetoslavTsenov)[ligaz](https://github.com/ligaz)[sis0k0](https://github.com/sis0k0)[wdulin](https://github.com/wdulin)[dtopuzov](https://github.com/dtopuzov)[nadyaA](https://github.com/nadyaA) [vchimev](https://github.com/vchimev)[covex-nn](https://github.com/covex-nn)[bundyo](https://github.com/bundyo)[EddyVerbruggen](https://github.com/EddyVerbruggen)[NathanWalker](https://github.com/NathanWalker)[nsndeck](https://github.com/nsndeck) [tzraikov](https://github.com/tzraikov)[TsvetanMilanov](https://github.com/TsvetanMilanov)[bradmartin](https://github.com/bradmartin)[cmelo](https://github.com/cmelo) ![](https://ga-beacon.appspot.com/UA-111455-24/nativescript/sample-groceries?pixel) ### Big Thanks Cross-browser Testing Platform and Open Source Provided by [Sauce Labs](https://saucelabs.com). [SauceLabs](https://saucelabs.com)