Skip to content
Snippets Groups Projects
Select Git revision
  • develop
  • demo-v0.1
  • improve-file-management
  • 3-add-ci-tests
4 results

web-backend-node

  • Clone with SSH
  • Clone with HTTPS
  • VILLASweb-backend

    Important notice: This repository is DEPRECATED

    This javascript implementation of the VILLASweb backend is no longer maintained by the Institute for Automation of Complex Power Systems, RWTH Aachen University. The repository is archived.

    We stongly recommend to use the Go backend implementation for the VILLASweb API.

    Description

    This is the server for the VILLASweb website. The term frontend refers to this project, the server the website (frontend) is talking to. The backend serves the database content to the website, handles authentication and persistent storage of content. It does not handle simulation data. For this have a look at VILLASnode.

    To work properly the backend needs to connect to a MongoDB database instance.

    Frameworks

    The backend is build upon NodeJS, Express and Mongoose.

    Quick start

    First ensure a MongoDB instance is running and properly configured in config.json. The easiest way to start a local MongoDB is docker run -d -it -p 27017:27017 mongo.

    Before the first start all required packages need to be installed with npm install.

    To start the backend execute npm start.

    Copyright

    2017, Institute for Automation of Complex Power Systems, EONERC

    License

    This project is released under the terms of the GPL version 3.

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    any later version.
    
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
    
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

    For other licensing options please consult Prof. Antonello Monti.

    Contact

    EONERC ACS Logo

    Institute for Automation of Complex Power Systems (ACS)
    EON Energy Research Center (EONERC)
    RWTH University Aachen, Germany