- 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 [email protected]: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 logs
View the logs of all servicemake migrate
Re-setup and migrate databasemake routes
Show all API routesmake deps
Re-fetch all backend depenenciesmake status
Check status of all docker containersmake restart
Restart project
- The MariaDB container exposes MySQL on port
3310
for use with MySQL workbench or similar - The Web Adminer is accessible at
localhost:8888
and can connect to the database using the hostmysql
, usernameroot
, passwordsupersecret
. - The backend devleopment dasboard (kaffy) is accessible at `http://localhost:8080/kaffydash