A smart digital api management solution for modern fitness entrepreneurs and personal trainers to simplify and streamline your business management, freeing you from the monotone paperwork so you have more freedom and energy for other pursuits.
You can create follow-up video content for every workout in your Fitness center. Depending on a video you can specify steps that closely follow everything you do. This could be a great solution for personal trainers allowing their users to inspect and practise certain routines at home.
This API helps you to make instructions videos available to your clients so that you can simplify your work during the fitness sessions. We also offer a database with instruction videos you can use.
Domain entities are the core and centre part. Onion architecture is built on a domain model in which layers are connected through interfaces. The idea is to keep external dependencies as far outward as possible where domain entities and business rules form the core part of the architecture.
Currently CRUD operations for Organisation is disabled due to them only being available via CMS.
Before API usage, please rename .env.example
into .env
(and populate it based on the command outputs)
As this is dockerized all you have to do is run following command and enjoy playing:
- Build docker image
docker-compose build app
- Run the environment in background mode
docker-compose up -d
- Install all the dependencies
docker-compose exec app composer install
- Run the migrations and seeds
docker-compose exec app php artisan migrate --seed
- Create a personal access client and addit to
.env
docker-compose exec app php artisan passport:client --personal
You can pull out Postman collection which is in the root of application named
onion-architecture-docker-api.postman_collection.json