-
Create PostgreSQL DB
-
Run
composer install -
Run
composer run-script post-create-project-cmd(set permissions, copy.env.distto.envetc.) -
Change application settings in your
.envfile -
Run
./yii migrate(migrations) -
Optional:
- Run
./yii serveto serve application using PHP built-in web server - Open
http://localhost:8080/docfor documentation
- Run
-
Set
DB_DSN_TEST,DB_USERNAME_TEST,DB_PASSWORD_TESTvariables in your.envfile -
Run
php tests/bin/yii migrate(migrations) -
Run
composer test-apito execute API tests
-
Notifications
You must be signed in to change notification settings - Fork 0
License
ManasAtabaev/basic_api_example
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published