Skip to content
This repository has been archived by the owner on Oct 24, 2022. It is now read-only.

philips-software/SmartSleep-Analyzer-SampleApp-Angular

Repository files navigation

SmartSleep Analyzer Sample App -- Angular

Introduction

Description: this sample application exemplifies basic usage of the SmartSleep Analyzer API. The API Program documentation offers a tutorial which walks through creation of this app from scratch.

Requirements

This sample application assumes the following:

  • Angular CLI 7.2.1
  • npm 6.9.0

Getting Started

The application in this repository should be automatically importable, compilable, and runnable.

  1. Clone this repository onto your computer: git clone https://github.com/philips-software/SmartSleep-Analyzer-SampleApp-Angular.git
  2. cd SmartSleep-Analyzer-SampleApp-Angular
  3. Install: run npm install to install all dependencies
  4. Run the App: ng serve -o
  5. Open the App: navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
  6. When the application loads, you will see the homescreen of the application, with a tutorial on how it was created.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Development

Please refer to our Contribution Guide for instructions on how to setup the development environment.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

License

Please refer to our License file.

Credits and references

Please see our Maintainers.