Skip to content

Commit 7267cbd

Browse files
committed
Minor updates regarding API Platform 2.1
1 parent 0cb2f42 commit 7267cbd

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

distribution/images/swagger-ui-1.png

64.4 KB
Loading

distribution/images/swagger-ui-2.png

-323 KB
Binary file not shown.

distribution/index.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ asynchronous jobs to your APIs is very straightforward.
3535

3636
## Installing the framework
3737

38-
### In Docker containers
38+
### In Docker Containers
3939

4040
API Platform is shipped with a [Docker](https://docker.com) setup that makes it easy to get a containerized development
4141
environment up and running. This setup contains a [Docker Compose](https://docs.docker.com/compose/) configuration with
@@ -121,9 +121,7 @@ the API documentation. Click on an operation to display its details. You can als
121121
Try to create a new *Foo* resource using the `POST` operation, then access it using the `GET` operation and, finally, delete
122122
it by executing the `DELETE` operation.
123123
If you access any API URL using a web browser, API Platform detects it (using the `Accept` HTTP header) and displays the
124-
corresponding API request in the UI. Open `http://localhost/foos`:
125-
126-
![Request detail in the UI](images/swagger-ui-2.png)
124+
corresponding API request in the UI. Try yourself by browsing to `http://localhost/foos`.
127125

128126
If you want to access the raw data, you have two alternatives:
129127

@@ -614,7 +612,13 @@ ISBN number isn't valid...
614612
Here we are! We have created a working and very powerful hypermedia REST API in a few minutes, and by writing only a few
615613
lines of PHP. But we only covered the basics.
616614

617-
## Other features
615+
## Going Client-Side
616+
617+
API Platform also provides amazing client-side components.
618+
Continue [by creating a fancy Material Design administration interface](../admin/index.md) for your API in seconds.
619+
Then, [scaffold a ReactJS / Redux Progressive Web App](generate-crud/index.md).
620+
621+
## Other Features
618622

619623
They are many more features to learn! Read [the full documentation](../core/index.md) to discover how to use them and how
620624
to extend API Platform to fit your needs.
@@ -629,16 +633,13 @@ Here is a non-exhaustive list of popular API Platform extensions:
629633
* Add [a user management system](../core/fosuser-bundle.md) (FOSUser)
630634
* [Secure the API with JWT](https://github.com/lexik/LexikJWTAuthenticationBundle) (LexikJwtAuthenticationBundle) or [OAuth](https://github.com/FriendsOfSymfony/FOSOAuthServerBundle)
631635
(FosOAuthServer)
632-
* [Add a Varnish reverse proxy and adopt a expiration or invalidation HTTP cache strategy](http://foshttpcachebundle.readthedocs.org)
633-
(FOSHttpCache)
634-
* [Add CSRF protection when the API authentication relies on cookies](https://github.com/dunglas/DunglasAngularCsrfBundle)
635-
(DunglasAngularCsrfBundle)
636636
* [Send mails](https://symfony.com/doc/current/cookbook/email/email.html) (Swift Mailer)
637637
* [Execute async jobs and create micro-service architectures using RabbitMQ](https://github.com/php-amqplib/RabbitMqBundle)
638638
(RabbitMQBundle)
639639

640-
Keep in mind that you can use your favorite client-side technology: API Platform is tested and approved with React, Angular
641-
1 & 2, Ionic and Swift but can work with any language able to send HTTP requests (even COBOL can do that).
640+
Keep in mind that you can use your favorite client-side technology: API Platform provides React components ; but you can
641+
use your preferred client-side technology including Angular, Ionic and Swift. Any language able to send HTTP requests is OK
642+
(even COBOL can do that).
642643

643644
To go further, the API Platform team maintains a demo application showing more advanced use cases like leveraging serialization
644645
groups, user management or JWT and OAuth authentication. [Checkout the demo code source on GitHub](https://github.com/api-platform/demo)

0 commit comments

Comments
 (0)