akshay gaur
akshay gaur

Reputation: 31

using React Native with Laravel

I need help regarding how to create an react native app of a project which is already made in the Laravel framework.

As I am going to make a Laravel website. So I also want to create an IOS and Android app for it.

Can anyone suggest me something for it?

Upvotes: 2

Views: 6113

Answers (2)

Siraj Ahmed
Siraj Ahmed

Reputation: 144

Basically laravel is a backend programming language framework and its PHP so definately laravel most important thing is to build API's.

And the another side we have react which is the latest framework of javascript which is made up of Facebook for front end side.

So React developer + laravel developer = Full Stack developer

so basically you have two sides web or App you build API's for the help of controllers and that controllers gives the response in JSON's format when the App developer call the controllers

your controllers are attached your module and your your module are connected to your database.

you write a code of javascript inside of Json's

Upvotes: 1

Simas Joneliunas
Simas Joneliunas

Reputation: 3138

In a layman's terms:

Laravel is a backend framework, react-native is a frontend framework - they will only be interacting through API's.

You will be creating API's (laravel controllers that return json objects instead of websites) and then call them from the react-native app.

lastly, you will write code in js and have it execute around the json objects that you received from the API to create app elements.

User's interaction within the app will use a similar set of API's to send the data back to your laravel framework (works quite similar to forms)

Upvotes: 8

Related Questions