GithubHelp home page GithubHelp logo

node-manger-asp.net's Introduction

NodeManager API

This is a ASP.Net Web API project that enables Network Operations teams to monitor and manage various nodes within a network.

Features

  • Add/Remove nodes
  • Bring a node online/offline
  • Check if a node is online or offline
  • View telemetry data from nodes
  • Set maximum threshold values for node telemetry metrics
  • Receive an alarm when metrics exceed maximum limits

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software.

  • .NET 7

Fonder Structure

<root project folder>/
|-- Controllers/
|   |-- NodesController.cs
|-- Services/
|   |-- Interfaces/
|   |   |-- INodeService.cs
|   |-- NodeService.cs
|-- Models/
|   |-- Interfaces/
|   |   |-- INode.cs
|   |   |-- INodeManager.cs
|   |-- Classes/
|   |   |-- Node.cs
|   |   |-- NodeManager.cs
|-- Program.cs
|-- README.md
|-- .gitignore
|-- appsettings.json

Description of the files:

  • Controllers/NodesController.cs: In the MVC model, this is where define endpoints for the node operations.

  • Services/Interfaces/INodeService.cs: A service interface that defines the contract for the Service layer.

  • Services/NodeService.cs: The concrete implementation of INodeService interface, using INodeManager to manipulate Node entities.

  • Models/Interfaces/INode.cs, Models/Interfaces/INodeManager.cs: The provided interfaces.

  • Models/Classes/Node.cs, Models/Classes/NodeManager.cs: The provided concrete implementation of those interfaces.

  • Program.cs: The entry point into the .NET Core application.

  • README.md: Documentation on how to setup and run the project.

  • .gitignore: To tell Git what files and folders not to track or handle.

  • appsettings.json: .NET configuration file.

Installing

Follow the steps to run this project in your local machine.

  1. Clone the repository.

git clone https://github.com/username/NodeManagerAPI.git

  1. Navigate to the project directory.
    dotnet build
    dotnet run

Connect with MongoDB

Replace the connection string in appsettings.json and appsettings.Development.json with your own connection string.

 "MongoDbSettings": {
    "ConnectionString": "Replace with MongoDb Connection String",
    "DatabaseName": "Replace with Database Name",
    "CollectionName": "Replace with Collection Name"
  }

Build with

  • .NET 7
  • ASP.NET WEB API
  • MongoDB

Author

  • Steve Sultan

node-manger-asp.net's People

Contributors

9amcoder avatar korban910 avatar

Watchers

 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.