https://github.com/scorpiocoding/sc-qs-dc-api
ScorpioCoding QuickStart Docker APi server + simple client
https://github.com/scorpiocoding/sc-qs-dc-api
Last synced: 11 months ago
JSON representation
ScorpioCoding QuickStart Docker APi server + simple client
- Host: GitHub
- URL: https://github.com/scorpiocoding/sc-qs-dc-api
- Owner: ScorpioCoding
- Created: 2023-02-25T12:31:18.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-25T12:42:18.000Z (about 3 years ago)
- Last Synced: 2023-08-01T07:13:14.390Z (over 2 years ago)
- Language: PHP
- Size: 60.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# sc-qs-dc-php-lemp-mvc
ScorpioCoing QuickStart Docker Apline Nginx Php MySql (LEMP) stack with MVC
Model-View-Controller Application Setup
## Basic Usage
- clone git
- open terminal and go into \_dockerfiles
- run docker command to start
```
docker compose up -d
```
- run docker command to stop
```
docker compose down
```
- The frontend http://localhost:6080
- The Api http://localhost:6082
- phpMyadmin http://localhost:6084
- The Database http://localhost:6086
1. Get All Movies
http://localhost/api/readall/movies
Route : api/readall/{table}
Request-type: GET
Expected Response format -> json_encode
2. Get A Movie
http://localhost/api/read/movies/1
Route : api/read/{table}/{id:\d+}
Request-type: GET
Expected Response format -> json_encode