How do I connect Frontend React to JavaBackend

Gravatar

Hi,

Now I can start Sing App React Template frontend. But how can I connect to backend java, get list of order/products? Can you show me the configuration.

Regards, Minh Nguyen

User profile image
Eugene Stepnov

Hi Minh,

Have you got access to the Github repo with the java docs?

Best, Eugene

Gravatar

Hi Eugene,

I have access to the Github repo. I could start JAVA BACKEND and REACT FRONTEND. I can use Swagger UI to test API correctly But how can I connect FRONTEND to BACKEND. For example, I need to do signup from the react frontend, then receive email, and click verify link. Could you show me where is the signup form.

Thank you, Minh Nguyen

User profile image

Hi, ndminh065 You just need to run the backend following the instructions from readme.md (https://github.com/flatlogic/app-generator-java/blob/master/README.md). Then start the frontend with "npm start:backend". On the frontend side you can create new users (https://demo.flatlogic.com/sing-app-react/#/admin/users)

Cookie Consent

By continuing to browse or by clicking 'OK', you agree to the storing of cookies on your device to enhance your site experience and for analytical purposes. To learn more about how we use cookies, please see our cookies policy.