- Motivation
- Docker
- WSL 2.0
- MySQL Workbench
- Webserver -> 8080
- Frontend http://localhost:8080
- Backend http://localhost:8080/api/
- Database -> 3310
It is recommended that you use a Linux system with bash or a similar shell. As a prerequisit for running this repository, docker and docker compose must be installed on your system!
The project can be set up by going through the following procedure:
| Nr | Step | Commands |
|---|---|---|
| 1 | Clone this repository to your computer | git clone git@github.com:cybrox/TIAE5-WT.git |
| 2 | Enter the project | cd TIAE5-WT |
| 3 | Clean-build and start all containers | make stop && make nuke && make deps && make start |
| 4 | Create and migrate database | make migrate |
| 5 | Have fun :) | (make logs) |
make logsView the logs of all servicemake migrateRe-setup and migrate databasemake routesShow all API routesmake depsRe-fetch all backend depenenciesmake statusCheck status of all docker containersmake restartRestart project
- The MariaDB container exposes MySQL on port
3310for use with MySQL workbench or similar - The Web Adminer is accessible at
localhost:8888and can connect to the database using the hostmysql, usernameroot, passwordsupersecret. - The backend devleopment dasboard (kaffy) is accessible at `http://localhost:8080/kaffydash