Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 456 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 456 Bytes

SLIM-CRUD RESTful API

This is a RESTful api built with the SlimPHP framework and uses MySQL for storage.

Installation

  1. Clone the repo

  2. Create database or import from _sql/slimapp.sql

  3. Edit db/config params

  4. Install SlimPHP and dependencies

$ composer install

API Endpoints

$ GET /api/customers
$ GET /api/customer/{id}
$ POST /api/customer/add
$ PUT /api/customer/update/{id}
$ DELETE /api/customer/delete/{id}