Giter Club home page Giter Club logo

topology-api's Introduction

Topology-API

About The Project

Topology-API is an API that provides the functionality to access, manage and store device topologies. The best candidate for such an application is c++, but since I wanted to deliver it as fast as possible, I thought about javascript, but once again JS can't deal well with OOP applications. so I went with a similar yet better OOP language: typescript. Also has easy testing & documentation.

Built with

Getting Started

This is an list of needed instructions to set up your project locally, to get a local copy up and running follow these instructions.

Installation

  1. Clone the repository
git clone [email protected]:GeekMind00/Topology-API.git
  1. Navigate to repository directory
$ cd Topology-API
  1. Install dependencies
$ npm i

Running

  1. Running the application
$ npm run start
  • Console Commands:
    • To read a topology from a json file and store it in memory: read [filename]
    • To write a topology from memory to a json file: write [topologyID]
    • To delete a certain topology from memory: delete [topologyID]
    • To query all the topologies in memory: getTopologies
    • To query all devices of a certain topology: getDevices [topologyID]
    • To query all devices of a certain topology that has a certain netlist node: getDevicesWithNetlistNode [topologyID] [netlistNodeID]
  1. Running the tests
$ npm run test
  1. Running the documentation
$ npm run doc

Documentation

doc -> index.html

Code Analysis

coverage -> index.html

topology-api's People

Contributors

geekmind00 avatar

Watchers

 avatar

Forkers

raazansalah

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.