Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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