dioteos / flow-restapi-example

An example on how to implement RESTful webservices with TYPO3 Flow.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RESTful Webservices with TYPO3 Flow

Martin Helmich typo3@martin-helmich.de

Synopsis

This repository contains an example application that demonstrates on how to implement RESTful Webservices with TYPO3 Flow. It contains three packages:

  • Helmich.Products contains entity classes and repositories around a simple inventory management domain model
  • Helmich.ProductsApiSimple contains a simple REST-like API (level 2 of the Richardson Maturity Model) which allows you to CRUD products and manufacturers using respective HTTP methods.
  • Helmich.ProductsApiAdvanced contains an advanced API (level 3 of the RMM), which is hypermedia controlled (which means that there are links between resources) and also shows some design patterns to decouple your REST resource representations from your domain entities.

Installation

You can install this application using Composer:

composer create-project helmich/flow-restapi-example

Follow the TYPO3 Flow installation instructions in all other ways. Also set up your database and run the database migrations:

./flow doctrine:migrate

About

An example on how to implement RESTful webservices with TYPO3 Flow.

License:MIT License


Languages

Language:PHP 100.0%