Giter Site home page Giter Site logo

5gcity / 5gcity-dashboard-new Goto Github PK

View Code? Open in Web Editor NEW
1.0 6.0 1.0 2.05 MB

A map-based interactive Dashboard to serve as management portal for 5GCity neutral hosts

License: Apache License 2.0

JavaScript 95.43% Perl 0.11% Dockerfile 0.04% HTML 3.52% CSS 0.21% Raku 0.69%

5gcity-dashboard-new's Introduction

5GCity Platform

pipeline status](https://gitlab.ubiwhere.com/5GCity/web-platform/commits/master)

JavaScript Style Guide(https://standardjs.com)

pipeline status (https://gitlab.ubiwhere.com/frontend/Starters/ReactKea/commits/master)

coverage report (https://gitlab.ubiwhere.com/frontend/Starters/ReactKea/commits/master)

Conventional Commits (https://conventionalcommits.org)

semantic-release(https://github.com/semantic-release/semantic-release)

Storybook (https://github.com/storybooks/storybook)

Stack used

Installation/Instantiation

The presented solution use Docker.

Please install Docker according to the desired operating system.

Build Docker command:

docker build --rm -t 5gcity:latest . --build-arg API_BASE_URL=https://5g-dashboard.i2cat.net --build-arg API_MONITORING=https://5gcity-monitoring.i2cat.net/d/qymONwsWz

When on your console show Successfully built xxxxxxxxxx run command:

docker run -d -p 5000:5000 5gcity:latest

Go to http://localhost:5000

To Stop Container Ctrl+C

Configuration

To change the name or tag of docker image modify:

docker build --rm -t NAME:TAG

To change API_BASE_URL or API_MONITORING need to pass --build-arg modify API_BASE_URL="http://XXX.XXX.X.XXX or API_MONITORING=http://XXX.XXX.X.XXX

docker build --rm -t 5gcity:latest . --build-arg API_BASE_URL=http://xxx.xxx.x.xxx --build-arg API_MONITORING=http://xxx.xxx.x.xxx

How to develop

1 - Clone the project

2 - Install dependencies

yarn install

3 - Create a branch of the feature/issue you are working on

git checkout -b <feature/issue>

4 - Start the dev environment

yarn start

Available Commands

Linter

Lints and fixes common problems

yarn lint:fix

Shows the results of the linter

yarn lint

Testing

yarn test

Generate Components

yarn generate:component

Generate Containers

yarn generate:container

Generate Scenes

yarn generate:scene

StoryBook

Start StoryBook

yarn start:storybook

Build StoryBook

yarn build:storybook

UI

Element-React

5gcity-dashboard-new's People

Contributors

gpatriarca avatar rpretoubi avatar papagap avatar

Stargazers

santiloopz avatar

Watchers

James Cloos avatar  avatar Diogo Gomes avatar  avatar  avatar santiloopz avatar

Forkers

diogogomes77

5gcity-dashboard-new's Issues

Add capacities and quotas to the resources in the Dashboard

This needs to wait until the respective models/APIs of the Slice Manager have been extended to include these "numbers"...
I am creating the issue nevertheless and I assign also myself in order to provide updates as soon as there are updates on the Slice Manager side.

Dashboard User stories

Incrementally create a bullet list of User Stories from the Dashboard perspective, i.e., actions you want to perform from the Dashboard, so that we can match them to (sequences of) required platform API calls.

Configuration Documentation

Please, document all the configuration management / files to configure ports / IPs (specially the 5GCity-AAA API url); integration documentation.

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.