RE: How to integrate react app with the liferay?

Jamie Sammons, modified 3 Years ago. New Member Post: 1 Join Date: 3/21/22 Recent Posts

I'm creating a react app that needs integration with Liferay. 

Scenario:

I've created one form in Liferay. So as the user adds the data into the form and submits it. Then I need to show these data in my react app. I'm using MySQL database.

So, What will be the steps to do it?

thumbnail
Mohammed Yasin, modified 3 Years ago. Liferay Master Posts: 593 Join Date: 8/8/14 Recent Posts

Hi ,

You can use Liferay HeadLess API (Refer) and fetch all the form records by Form Id and display them on react app.

You can  check for  rest api  under  (LR7.4GA11) : http://localhost:8080/o/api?endpoint=http://localhost:8080/o/headless-form/v1.0/openapi.json -> FormRecord -> getFormFormRecordsPage