Coder Social home page Coder Social logo

5g-mag's Introduction

5G-MAG: A User Interface for Metrics and Consumption Reports

This is a Next.js project created for Advanced Web Technologies course.

Project Topic

5G-MAG: A user interface for metrics and consumption reports.

This project provides a dashboard to visualize Quality of Experience (QoE) metrics and consumption reports using mocked data for demonstration purposes. Additionally, it includes real-time data interactions with a mock Express server to fetch M8 Information and Service Access Information.

Getting Started

First, clone the project and navigate to the project directory:

git clone https://github.com/saramakishti/5g-mag
cd 5g-mag

Install Dependencies

Install the necessary dependencies using npm:

npm install

# or

npm i

Run the Development Server

The project is set up to run both the Next.js frontend and the mock Express server concurrently. Use the following command to start both servers:

npm run dev

This command utilizes concurrently to run both the frontend and backend servers simultaneously.

Available Scripts

  • dev: Runs both the Next.js frontend and the mock Express server concurrently.

  • dev:next: Runs only the Next.js frontend server.

  • dev:server: Runs only the mock Express server.

  • build: Builds the Next.js project for production.

  • start: Starts the Next.js server in production mode.

  • lint: Runs the linter to check for code issues.

Project Structure

The project is structured as follows:

  • app/: Contains the Next.js pages.

    • page.jsx: The home page of the dashboard.
    • layout.jsx: The root layout with the navbar for the project.
    • qoe-reports.jsx: Page to display QoE metrics.
    • consumption-reports.jsx: Page to display consumption reports.
    • m8-reports.jsx: Page to display M8 information.
    • service-access-reports.jsx: Page to display service access information.
    • mock/: Contains the JSON mocked data that are used to display QoE and Consumption Reports charts.
  • components/: Contains React components used across the project.

  • utils/: Contains helper JavaScript functions used across the project.

  • mock-server/: Contains the mock Express server setup

    • app.js: The main server file.
    • routes/: Contains route handlers for different endpoints.

5g-mag's People

Contributors

saramakishti avatar emsfoit avatar

Stargazers

 avatar

Watchers

 avatar  avatar

5g-mag's Issues

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.