To open the project go to the folder and type: vapor xcode
Vapor & Fluent docs: Docs
Open project and type: vapor run migration
Change to the MySQL branch
Open project and type: vapor run migration
To create do: Open Docker desktop to start Docker Daemon
docker pull mariadb
docker run --name cookie-box -e MYSQL_ROOT_PASSWORD=vapor -p 3306:3306 -d mariadb
Username will be "root" and password "vapor"
To test the connection do:
docker exec -it cookie-box mysql -u root -p sys