Simple and dynamic Storage API using sqlite, built upon Lumen
Editor can be found here: StorageAPI_Editor
| HTTP Method | URI | Action |
|---|---|---|
| GET | / | Fetches all tables |
| GET | /table | Fetches all posts in specified table |
| GET | /table/id | Fetches post with specified id from table |
| POST | / | Creates a new table |
| PUT | /table | Updates an existing table |
| DELETE | /table | Deletes specified table |
| POST | /table | Creates a new post in table |
| PUT | /table/id | Updates a existing post in table |
| DELETE | /table/id | Deletes specified id from table |
git clone https://github.com/ToxicTree/StorageAPI.git
cd StorageAPI
composer installcd public
php -S localhost:8000