API
artyuum opened this issue · 2 comments
Hi,
I'm not sure if this has already been asked before as I didn't find anything relevant with the term "api" when I searched in this repo.
This demo is good enough to help the beginners to understand how Symfony works and how to do "things".
I was just wondering if an API is planned for this application? This would help the beginners who are trying to create more than a simple website: an API.
My suggestion is to create few CRUD routes to interact with the application and show the user how to map & validate the incoming request, why not implement a (basic?) stateless authentication, how to return a consistent reponse across the different routes, etc.
What do you think?
Thanks for your proposal.
I think we should not add an example of an API. The purpose of this demo app is to teach/showcase the core of Symfony framework/components. That's why we must be very cautious about adding new features, especially if they are large and complex, such as an API.
Maybe a new Symfony API Demo app could be done by the community or by the API Platform project (maybe they already have one).
Fair.