Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tellys/docker-yii2-api-rest-token-bearer-crud
Docker to create the execution environment and the template has the following technologies: Apache Http Server Mysql database PHP language (Yii PHP Framework - version Yii2) RESTful APIs usando a performance CRUD com operadores usando os métodos HTTP: POST, GET, PUT, and DELETE.
https://github.com/tellys/docker-yii2-api-rest-token-bearer-crud
api api-rest crud crud-api docker mysql php postman postman-api postman-collection yii2
Last synced: about 1 month ago
JSON representation
Docker to create the execution environment and the template has the following technologies: Apache Http Server Mysql database PHP language (Yii PHP Framework - version Yii2) RESTful APIs usando a performance CRUD com operadores usando os métodos HTTP: POST, GET, PUT, and DELETE.
- Host: GitHub
- URL: https://github.com/tellys/docker-yii2-api-rest-token-bearer-crud
- Owner: Tellys
- License: bsd-3-clause
- Created: 2024-04-15T17:39:59.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-09-12T17:04:58.000Z (4 months ago)
- Last Synced: 2024-12-24T22:10:20.992Z (about 1 month ago)
- Topics: api, api-rest, crud, crud-api, docker, mysql, php, postman, postman-api, postman-collection, yii2
- Language: PHP
- Homepage:
- Size: 25.7 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Docker Yii2 API Rest, Token Bearer, CRUD
The application uses Docker to create the execution environment and the template has the following technologies:
- Apache Http Server
- Mysql database
- PHP language (Yii PHP Framework - version Yii2)RESTful APIs usando a performance CRUD com operadores usando os métodos HTTP: POST, GET, PUT, and DELETE.
INSTALLATION
------------### Install
Following command:
~~~
git clone https://github.com/Tellys/Docker-Yii2-API-Rest-Token-Bearer-CRUD
~~~Enter into folder
~~~
cd Docker-Yii2-API-Rest-Token-Bearer-CRUD
~~~Docker command
~~~
docker compose pull && docker compose build && docker compose up -d
~~~Set permissions folders
~~~
docker exec -it php_apache bashchmod 777 assets
chmod 777 web/assets
chmod 777 runtime
~~~Install packages compose
~~~
composer install
~~~Install DB migrations
~~~
php yii migrate/up
~~~## How to use
#### API
~~~
http://localhost:8000/
~~~#### PhpMYAdmin
~~~
http://localhost:8081/
~~~#### Adminer
~~~
http://localhost:8082/
~~~## Postman Collections API end points
All system **urls end points** and their variables are already formatted in our public **Postman** collection, at the link below
~~~
https://www.postman.com/restless-shuttle-935092/workspace/yii2-api-rest-token-bearer-crud/collection/20718206-d82b9fd0-1cc7-4fe5-94f2-c80cf9c82464?action=share&creator=20718206
~~~## Maintainer
~~~
Tellys Castro
https://github.com/Tellys
~~~