If they are running, stop them and run docker compose up -wait again.Ĭaddy web server with the Mercure (real-time and async) and Vulcain (relations preloading) modules The usual offenders are Apache, NGINX, and Postgres. Tip: Be sure that the ports 80, 443, and 5432 of the host are not already in use. Then, start Docker Compose in detached mode: docker compose up -pull -wait docker compose up -pull -wait Run the following command to start allīuild the images: docker compose build -no-cache docker compose build -no-cache Open a terminal, and navigate to the directory containing your project skeleton. Docker Machine is not supported out of the box. Similarly, on Windows, only Docker for Windows is supported. Note: On Mac, only Docker for Mac is supported. If you do not already have Docker on your computer, it’s the right time to install it. tar.gz archive.ĪPI Platform is shipped with a Docker definition that makes it easy to get a containerized developmentĮnvironment up and running. zip archive, as it may cause potential permission issues, prefer the. You will add your own code and configuration inside this skeleton. Start by downloading the API Platform distribution, or generate a GitHub repository from the template we provide. Installing the Framework # Using the API Platform Distribution (Recommended) # (plugins) and benefits from the numerous extension points provided by this rock-solid foundation (events, Dependency Injection Container…).Īdding features like custom or service-oriented API endpoints, JWT or OAuth authentication, HTTP caching, mail sending orĪsynchronous jobs to your APIs is straightforward. It is compatible with most Symfony bundles One more thing, before we start: as the API Platform distribution includes the Symfony framework, and basically everything needed to build modern APIs.security checks and headers (tested against OWASP recommendations).authentication ( Basic HTTP, cookies as well as JWT and OAuth through extensions).Nice UI and machine-readable documentations ( Swagger UI/OpenAPI, GraphiQL…).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |