The New Way to Build with AI! Introducing ReUI — the developer platform for agentic UI with shadcn/ui
Browse ReUI Pro

React Demo as Frontend and Laravel Demo as backend


HI,
I have a pretty straightforward question:

Can I use React DEMO as frontend and Laravel demo as backend (REST APIs)?


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)

 
Deleted comment

Hi,

You can use React as the frontend and Laravel as the backend, communicating through REST APIs. React is a frontend library that can consume data from any API, including Laravel's RESTful API. Laravel provides an easy way to build REST APIs using its built-in API routes and controllers, which can communicate with a React frontend using HTTP requests.

To get started, you can build your Laravel backend with its RESTful APIs and test them using a tool like Postman. Once the APIs work as expected, you can start building your React frontend. In your React application, you can request HTTP to your Laravel backend APIs to fetch data and perform CRUD operations.

It's important to note that you may need to customize both the frontend and backend to meet your specific needs. While the demos may provide a good starting point, you'll likely need to modify them to fit your use case, including updating the UI, adding or removing features, and adjusting the API endpoints.

On the backend side, you may need to customize the Laravel APIs to fit your specific data requirements and business logic. This could involve creating new API endpoints, adjusting database schemas, or implementing authentication and security measures.

Thanks


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
buy metronic keenthemes mega bundle

ReUI

Open-source React components, blocks and templates built on shadcn/ui and Tailwind CSS by Keenthemes.