Guite / MostGenerator

Transformation cartridges for generating Symfony bundles from ModuleStudio models.
https://modulestudio.de
22 stars 2 forks source link

Support REST and/or GraphQL APIs #617

Open Guite opened 9 years ago

Guite commented 9 years ago

Goal

Generated bundles should be able to provide REST and/or GraphQL APIs. Those are pretty near to CRUD, but may be enhanced and/or customised manually of course.

Concept

Resources

Check out first

API Platform

Authentication, docs, testing

GraphQLBundle

FOSRestBundle

cmfcmf commented 9 years ago

Please make the Api "version aware", just like GitHub does (https://developer.github.com/v3/#current-version). You should put all api related things into a v1 subnamespace. That way it's easy to add new api versions.

Kaik commented 7 years ago

@Guite this will be very hard to accomplish. I have played with REST using FosRestBundle our core security is not REST compatible second there is a problem with routes and route module as well. There are ways to "fix" the second one.