Awesome Open Source
Awesome Open Source

stream-angular-example

Installation

  1. Install project dependencies: npm install or yarn install
  2. Create a stream project and define feed groups
  3. Add stream feed tokens:
    const APP_TOKEN = '';
    const APP_ID = '';
    const FEED_GROUP = '';
    const FEED_ID = '';
    const FEED_TOKEN = '';
    
  4. Run the app: ng serve

Angular-cli project basics

This project was generated with Angular CLI version 1.0.2.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|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.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.

Copyright and License Information

Copyright (c) 2015-2017 Stream.io Inc, and individual contributors. All rights reserved.

See the file "LICENSE" for information on the history of this software, terms & conditions for usage, and a DISCLAIMER OF ALL WARRANTIES.


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Javascript (1,551,389
Typescript (251,877
Angular (12,630
Angular Cli (1,207
Feed (584
Timeline (511
Foundation (257
Related Projects