0xhexspeak / service-skeleton
Microservice application template
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 13
Watchers: 4
Forks: 3
Open Issues: 0
Type:project
Requires
- php: >=5.5.0
- ext-intl: *
- trntv/cheatsheet: ^0.1@dev
- vlucas/phpdotenv: ^2.0
- yiisoft/yii2: ~2.0.6
- yiisoft/yii2-authclient: ^2.0.0
- yiisoft/yii2-bootstrap: ^2.0.0
Requires (Dev)
- codeception/base: ^2.2.3
- codeception/codeception: ^2.0
- codeception/specify: ^0.4.3
- codeception/verify: ^0.3.1
- yiisoft/yii2-codeception: ^2.0.0
- yiisoft/yii2-debug: ^2.0.0
- yiisoft/yii2-faker: ^2.0.0
- yiisoft/yii2-gii: ^2.0.0
This package is not auto-updated.
Last update: 2025-03-05 21:34:16 UTC
README
Microservice skeleton based on yii2 framework.
Docker installation
Before installation
- Read about [docker] (https://docker.com). You should be familiar with basic concepts before starting.
Installation
- Follow [docker install] (https://docs.docker.com/engine/installation/) instruction
- Install composer globally (https://getcomposer.org/download/)
- Run the following command from the project root
docker/start.sh
Docker FAQ
How do i run yii console command?
docker-compose exec app console/yii help
docker-compose exec app console/yii migrate
docker-compose exec app console/yii migrate/down
etc.
How to connect to the application database with my workbench?
MySQL is available on localhost
, port 33061
. User - api_dbu
, password - api_pass
.