Code Monkey home page Code Monkey logo

m7011e_energysystem's Introduction

Project in Design of Dynamic web systems

This repository is for the course M7011E at Luleå tekniska universitet.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Admin on default site

The admin credentials of the default site is

User: [email protected]

Pass: 123

Simulation API Documentation

The documantation for the Simulation REST API can be accessed at $hostname$/docs

Prerequisites

The project is tested with

  • NodeJS - v13.5.0
  • NPM - v6.13.4
  • Docker - v19.03.5-ce
  • Docker-compose - v1.25.0

Later versions should work, but we offer no guarantees.

Installing

To initiate all the dockers, in the root folder, run in terminal:

docker-compose up

To run them in deamon mode, run

docker-compose up -d

You can then connect to the website at

localhost

Running the tests

The tests on the simulator can be run by doing npm test in the simulator folder.

Deployment

For deploying in production, generate the new frontend by running npm run build in the Frontend folder.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

m7011e_energysystem's People

Contributors

pandafood avatar 97gushan avatar

Watchers

James Cloos avatar

m7011e_energysystem's Issues

close knapp

När jag skapar ett nytt kraftverk så finns ingen close-knapp utan jag förväntas klicka utanför rutan.

Graf

Grafen för ett batteri uppför sig konstigt genom att scrollar fram allt varje sekund och sedan bort igen.

Säkerhet

er diskussion om säkerhet behöver utökas. Är det inte en risk t.ex. att ni skicka lösenord i klartext?

batterislider

Inte logiskt att gömma inställning för hur mycket som ska sparas i batteriet genom att klicka på profilbilden.

Add authentication to Simulation API

Add Authentication to prevent illegal access to the API.
This includes special access for some users

  • Only a Manager should be able to access the Coal Plants API
  • A Prosumer should only be able to access the data from his own house

deployment

Väldigt kortfattade instruktioner. Behövs t.ex. någon specifik version av Docker etc? Vilken repo-del ska jag köra "docker-compose up" i?

History

  • Ni har ingen hantering av history. Hur kommer jag tillbaka från om jag klickat fram en graf (t.ex. från ett vindkraftverk) annat än att klicka på Dashboard.

  • Ni har någon bug när man gör det ovan "TypeError: Cannot read property 'windSpeed' of undefined" visas uppe till höger. Samma sak för batteri.

profibild

Hittar inget sätt att ladda upp en profilbild. Detta är krav i kursen att kunna hantera uppladning av binärdata.

Battery slider

Add a battery slider for the prosumer to control how much energy to store

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.