wiki.ziemers.de

ziemer's informatik Wiki

Benutzer-Werkzeuge

Webseiten-Werkzeuge


wiki:software:beuthbot:weather-service

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
wiki:software:beuthbot:weather-service [22.07.2020 18:03]
Denny Schumann
wiki:software:beuthbot:weather-service [22.07.2020 18:09] (aktuell)
Denny Schumann
Zeile 2: Zeile 2:
  
  
-Der Wetter Mikroservice ist ein Dienst, welche aktuell über den Telegram Client angesprochen wird. Dabei kann der Service per Chat einfach angesprochen werden ohne das der User im Vorfeld etwas einrichten muss. Dieser Dienst antwortet dabei auf Fragen, welche das Wetter im Allgemeinen, aber auch im Stündlichen betreffen, ebenso wie das vergangene Wetter. Aktuell ist eine Anfrage von bis zu 7 Tage in der Zukunft, sowie 5 Tage in der Vergangenheit möglich. Ab 47 Stunden in der Zukunft kann der Bot nur noch mit dem allgemeinen Wetter antworten, sprich keine stündliche anfrage.  +A microservice for a Chatbot developed at the Beuth University of Applied Sciences Berlin
  
  
Zeile 29: Zeile 28:
   - [[wiki:software:beuthbot:weather-service#authors|Authors]]   - [[wiki:software:beuthbot:weather-service#authors|Authors]]
  
 +===== Getting Started =====
 +
 +
 +
 +=== Prerequisites ===
 +
 +- [[https://nodejs.org/en/|node.js]] \\ 
 +- [[https://expressjs.com/|express.js]]
 +
 +=== Cloning ===
 +
 +Get the source code by cloning its repository via https: [[https://github.com/Onkilchen/weather_microservice.git|weather_microservice]]
 +
 +
 +=== Installing ===
 +
 +After cloning the repository, you will need to make sure that you have node and npm installed on your working system. To check if you already have node installed, try
 +
 +''node --version''
 +
 +Same for checking if npm is installed, just with npm instead of the node command
 +
 +''npm --version''
 +
 +If you don't have node or npm installed, download the Softare via the links provided in [[wiki:software:beuthbot:weather-service#prerequisites|Prerequisites]] or search for them via your preferred search engine.
 +
 +After that install all necessesary dependencies
 +
 +''npm install''
 +
 +Now you can start the local development server to play around with the API and make your calls
 +
 +''npm run dev''
 +
 +This will fire up a development server that listens on port 8000.
 +
 +If you direct your browser to http://localhost:8000/weather, you will get the weather forecast for the current day for Berlin.
  
 ===== Overview ===== ===== Overview =====
wiki/software/beuthbot/weather-service.1595433812.txt.gz · Zuletzt geändert: 22.07.2020 18:03 von Denny Schumann