Giter Site home page Giter Site logo

dawid-drelichowski / load-monitor-web Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 2.23 MB

Web application for an average CPU load monitoring

Home Page: http://server937162.nazwa.pl/

JavaScript 0.17% TypeScript 97.52% HTML 1.38% CSS 0.93%
angular typescript jest tslint ng-zorro-antd

load-monitor-web's Introduction

Load Monitor Web

Web application for an average CPU load monitoring, developed in Angular.
Demo version available on http://server937162.nazwa.pl/.
This project was generated with Angular CLI version 11.2.1.

Requirements

Installation

Installation is needed for development or unit tests running. If you would like to run production package, skip this section. Run following commands in project directory:

npm i -g @angular/cli
npm i

Configuration

Configuration options can be found in src/environments/environment/environment.ts (for dev environment) or src/environments/environment/environment.prod.ts for production. Options are described in comments in dev environment config file.

Run production version

The production package is included in the dist/ directory. You can simply serve it with (-p option sets port):

npx http-server dist/ -p 8081

More server configuration options can be found here.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Jest.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page. To get help with not Angular related topics - contact me or create an issue.

Improvements

This is a very basic implementation of monitor, it should be improved a bit. What is missing?

  • Better error handling
  • Re-connection to server in case of disconnection
  • Design improvements, responsiveness
  • Implementation of missing unit tests
  • E2E tests
  • Security audit or audit tool(s) usage
  • Migration to ESLint
  • Addition of Prettier
  • Git hooks for linting, formatting, etc.

load-monitor-web's People

Contributors

dawid-drelichowski 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.