Git Product home page Git Product logo

echalkpad / angular2-step-by-step-06-consuming-real-data-with-http Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vintharas/angular2-step-by-step-06-consuming-real-data-with-http

0.0 0.0 0.0 1.08 MB

Angular 2 code samples for the blog post Angular 2 Step by Step Consuming Real Data With HTTP http://www.barbarianmeetscoding.com/blog/2016/04/02/getting-started-with-angular-2-step-by-step-6-consuming-real-data-with-http/

License: MIT License

TypeScript 27.58% HTML 7.04% JavaScript 56.97% CSS 8.41%

angular2-step-by-step-06-consuming-real-data-with-http's Introduction

echalkPAD http://physionet.org/tutorials/hrv-toolkit/ https://github.com/nemron/open-heart-rate-monitor/blob/master/iir.c

ReactEngine default server based [Strongloop] (https://strongloop.com) of API Server.

Directory Structure

Reference [Strongloop engineering structures] (https://docs.strongloop.com/display/public/LB/Standard+project+structure)
Other files:
`` `Nodemon.json```: nodemon profile for the development phase watch file changes and automatically restart the server.

Local environment to build

1. Preparing the Environment

Install the latest version ** ** Nodejs: see [nodejs.org] (https://nodejs.org/en/download/)
Installation Strongloop: execution `npm install -g strongloop``` Install rethinkdb-Server, and create a database `Todos```

2. Clone warehouse and install dependency:

git clone https://github.com/ReactEngine/ReactEngine-Server.git cd ReactEngine-Server
npm install -d

Start Server ##### Execute the following command to start the Server: ` NODE_ENV = "development" node. Description: Set the environment variable ``NODE_ENV =" development "`` is to allow Server running in development mode, you can also set ``NODE_ENV =" production "` `` Let Server running in a production environment, these two there are subtle differences in the pattern (see [Environment-specific configuration] (https://docs.strongloop.com/display/public/LB/Environment-specific+configuration)) configuration.

In addition, the automatic restart if you want to watch a file for file changes after Server, install nodemon: ` npm install -g nodemon And run the command in the current directory ``nodemon``` to start the server.

5. Check

When you see the Console output: ` Web server listening at: http://0.0.0.0:3000 Browse your REST API at http://0.0.0.0:3000/explorer ` Description Server started successfully.
When the server is started, you can use the browser to open http://127.0.0.1:3000 to view the Server Status,
Or open the http://127.0.0.1:3000/explorer to view the API Explorer.

angular2-step-by-step-06-consuming-real-data-with-http's People

Contributors

cgmartin avatar davideast avatar deborahk avatar filipesilva avatar foxandxss avatar kahlil avatar kordondev avatar matsprea avatar rkirov avatar surmacz avatar vdmt avatar vintharas avatar wardbell avatar

Watchers

 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.