Giter VIP home page Giter VIP logo

cs-dashboard's Introduction

callstats.io Dashboard assignment

Preview

About

This assignment is split to two parts: express server backend which handles all of the api calls and vue.js frontend which processes the data into visual form

Since this consist of two parts, both of them require installing.

Backend

Installing - Backend

Dependencies: Node.js, Yarn/npm.

Move to server-folder

cd server

Install all the dependancies:

yarn install

Running - Backend

Move to server-folder (if you haven't already)

cd server

Now you can start the server

yarn start

The API is available at http://localhost:8081.

API routes - Backend

All routes use the GET method.

/app

Return a list of all appIDs.

/app/average

Returns a list of all appIDs and their average meanSendingRateKbps. Database entries that have this field empty are ignored.

/app/:appID

Return all data for given appID. Number of rows differ between appIDs.

/app/:appID/:field

Return all data for given field for given appID.

/build

Lists all of the buildName and buildVer combinations.

/build/:buildName/:buildVer

Returns list of meanSendingRateKbps for give buildName and buildVer.

/fields

Return all table columns.

Frontend

Installing - Frontend

Dependencies: Node.js, Yarn/npm.

Move to cs-dashboard-folder

cd cs-dashboard

Install all the dependancies:

yarn install

Running - Frontend

Move to cs-dashboard-folder (if you haven't already)

cd cs-dashboard

Now you can start the server

yarn start

The application is running at http://localhost:8080 which should redirect you to the dashboard.

cs-dashboard's People

Contributors

sefriol 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.