Questions tagged [api-platform.com]

For any inquiries pertaining to API Platform, a framework designed for developing API-first web projects, make sure to use this tag. API Platform comes equipped with various tools that streamline the process of creating comprehensive hypermedia APIs using modern formats, documentation, authorization, filtering, ordering, caching, testing, and more. Additionally, it facilitates the building of client applications through seamless scaffolding. This innovative framework is constructed on Symfony components in PHP and React in JavaScript.

Api-platform in Symfony causing issues with event listener attachment

My issue lies with api-platform.com's event not attaching to my listener. Despite trying multiple combinations from their event matrix, the trigger still remains elusive. # services.yml user_access_listener: class: AppBundleEventListenerUserAc ...

The issue with specific normalization and denormalization in Symfony 5 Api-Platform persists

Currently enrolled in a course taught by Piotr Jura, which can be found here. The User Entity structure is as follows: <?php namespace AppEntity; use ApiPlatformCoreAnnotationApiResource; use AppRepositoryUserRepository; use DoctrineCommonCol ...

Encountering difficulties with starting the API Platform

Exploring the Platform API framework with Symfony and following their documentation to set up a demo API. Link to API Platform Framework Documentation Everything seems to be working fine, but when I start the server, there is no UI visible. Instead, my ...

Explore the API documentation using Swagger

I am currently working on a project using Symfony4 with api-platform. The login process is defined in security.yaml as follows: security: encoders: AppEntityUser: bcrypt providers: our_db_provider: entity: class: AppEntityU ...

Inserting new element into Array collection on the api platform

One of the features in my Question entity is its 'OneToMany' relationship with Answer. My current query involves creating a unique endpoint with the path='question/{id}/add_answer', specifically designed for adding an answer to a specific question. How c ...

Revealing Next.js Environment Variables for Integration with PWA's API System

As per the official documentation of Next.js, exposing an environment variable requires using the NEXT_PUBLIC_ prefix. However, in this case, the admin is utilizing process.env.REACT_APP_API_ENTRYPOINT. In order to access the REACT_APP_API_ENTRYPOINT envi ...