im Rahmen des Moduls
Projekt 2
im Medieninformatik Master
Schwerpunkt Human-Computer Interaction
Technische Hochschule Köln
Campus Gummersbach
This repository contains the backend services for the MVP of the project. Each service is implemented as a Docker container. The following services are available:
- ChallengeAPI
- DisturbanceAPI
- RouteAPI
Each Service has a runtime of Deno. They all share the same deno.json and import_map.json files, which are loaded into the container at runtime. The following ports are used:
- ChallengeAPI:
3000
- ChallengeAPI-Database:
3307
- DisturbanceAPI:
3001
- DisturbanceAPI-Database:
3308
- RouteAPI:
3002
- RouteAPI-Database:
3306
- MQTT-Broker:
1883
The following requirements must be met:
- Docker: Make sure Docker Desktop is installed (Includes: Dekstop, CLI and Compose) → https://www.docker.com/
To launch the application, perform the following steps:
- clone repository
- duplicate the
.env.example
file and rename it to.env
(Bash-Befehl:cp .env.example .env
) - fill in the missing values in the
.env
file - run
docker compose up --build
in the root directory of the project - close the application with
CTRL + C
Make sure the following requirements are met:
- Docker: Make sure Docker Desktop is installed (Includes: Dekstop, CLI and Compose) → https://www.docker.com/
- VSCode (Optional): Make sure VSCode is installed and the recommended plugins are installed → https://code.visualstudio.com/
- GitHub Copilot (Optional): Make sure you have access to GitHub Copilot → https://copilot.github.com/
To launch the application, perform the following steps:
- clone repository
- run
docker compose up -d
in the root directory of the project (runs in background/detached mode) - open the project in VSCode
- perform changes
- run
docker compose restart
in the root directory of the project to see changes - commit changes