Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nikdrosakis/apiphp
classic php api with docker-compose as microservice
https://github.com/nikdrosakis/apiphp
api mariadb php
Last synced: 11 days ago
JSON representation
classic php api with docker-compose as microservice
- Host: GitHub
- URL: https://github.com/nikdrosakis/apiphp
- Owner: NikDrosakis
- Created: 2024-01-03T19:29:43.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-05T06:10:48.000Z (almost 1 year ago)
- Last Synced: 2024-04-14T13:38:18.180Z (10 months ago)
- Topics: api, mariadb, php
- Language: PHP
- Homepage: https://nikosdrosakis/apiphp
- Size: 96.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# apiPHP
classic php api with docker-compose as microservice## TODO
- GET criteria ORDERBY / WHERE /
- token
- REST authentication
- set POST
- set PATCH
- set DELETE## database
Mariadb## API Endpoints
### INSTALLATION
git clone [https://github.com/NikDrosakis/apiPHP.git]docker-compose run
### GET (folder GET)
table.php GET the maria table
--for specific id
/api/index.php?uid=1&grp=7&method=user&id=1
--or all the contents table (without ID)
/api/index.php?uid=1&grp=7&method=user### AWESOME REWRITEN AS
- for specific id
/api/user/1?uid=1&grp=7
/api/post/1?uid=1&grp=7
/api/obj/1?uid=1&grp=7
- or all the contents table (without ID)
/api/post?uid=1&grp=7
/api/obj?uid=1&grp=7## TODO:
- replace with api token
- get rest api protocol### POST
### PATCH