A small 'slim framework restful api' test for my php experience.
- The API is implemented as plain JSON over HTTPS using all four REST commands –
GET
,POST
,PUT
andDELETE
. The API follows the REST principles with Slim Framework over MVC stucture and it’s easy to learn and to use.
What I have learned:
- How to create & use RESTful APIs over Slim Framework.
- What the REST principles are.
- What the
GET
,POST
,PUT
,DELETE
https commands are. - How Model-View-Controller structure works.
- How to use composer.json.
- How to use JSON for data.
- Gain experince how to use git efficiently.
Note: For practicing to create applications that can retrieve or update data in simple database which consist of simple users
table.