Skip to content

Prototyp App in order to get a better feeling for balcony power plants and what their advantages are

License

Notifications You must be signed in to change notification settings

ikke09/Balkonkraftwerk-Wizard-Backend

Repository files navigation

Balkonkraftwerk-Wizard

You are looking at the Backend code of Balkonkraftwerk-Wizard. A small app that is dedicated to inform and visualize users the aspects of Mini-PV-Systems. You can checkout the Client-Code as well at Balkonkraftwerk-Wizard.

The Backend is a simple REST-API build with FastAPI. In provides some hardcoded informations and is a middleware for PVGIS and MaStR data.

The whole code is written in Python3.

Setup project

  1. Checkout repo
  2. Change directory to repo
  3. Enable VirtualEnvironment with python -m venv .
  4. Activate venv . venv/bin/activate
  5. Install dependencies pip install -r ./requirements.txt

After these steps, you should be able to run the backend via python api.py without any errors in the console. The Backend defaults to Port 8000.

Settings

You can change some assumptions by editing the .env file. Before that you must duplicate the .env.example file to a .env file. After that you can change the values in there!

About

Prototyp App in order to get a better feeling for balcony power plants and what their advantages are

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages