nikhilmandlik / telemetry-data

coding exercise

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

telemetry-data

coding exercise

Installing and Running the Coding Exercise

Step 1: Prerequisites (For realtime Data)

  • Open MCT Integration Tutorials
    git clone https://github.com/nasa/openmct-tutorial.git
    cd openmct-tutorial
    npm install
    npm start
    
  • A note on Cross-origin Resource Sharing (CORS) By default your browser will not allow requests to a server hosted on another port unless the server explicitly allows it. In order to enable cross-origin requests from the Open MCT tutorial server, you will need to add the following to ​example-server/server.js
    app.use(function(req, res, next) { 
        res.header("Access-Control-Allow-Origin", "http://localhost:8081");
        res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept"); 
        next();
    });
    

Step 2

git clone https://github.com/nikhilmandlik/telemetry-data.git
cd telemetry-data
npm install
npm start

About

coding exercise


Languages

Language:JavaScript 75.1%Language:HTML 13.3%Language:CSS 11.6%