Martofu helps you manage your Dofus sales with a clean UX/UI interface
- Symfony 6.4 with API Platform 3.4
- Vue 3
- Docker based on dunglas/symfony-docker and updated to handle the frontend
- If not already done, install Docker Compose (v2.10+)
- Run
docker compose build --no-cacheto build fresh images - Run
SERVER_NAME=martofu.localhost docker compose up -d --waitto set up the project - Run
docker compose down --remove-orphansto stop the Docker containers.
- Generate JWT keys with
docker compose exec php php bin/console lexik:jwt:generate-keypair - Set the API URL (see below) in
assets/vue/.envenv file
- Open
https://martofu.localhost/apito browse the API docs - Open
http://localhost:5173to access the Vue 3 frontend
The frontend is located under the /assets/vue folder.
Testing the API is done with PHPUnit:
docker compose exec php bin/phpunit