Laravel with React Native
The monorepo for login applications using the Api laravel consumed with React Native, as a study purpose.
📌 Technologies
Listed here are some of the main technologies used in the project:
📌 Getting started
- Clone this repo using
git clone https://github.com/MauricioSilv/react-native-with-laravel.git
- Move yourself to the appropriate directory:
cd mobile
- Run
yarn
to install dependencies
📌 Getting started with the backend server
- Move yourself to the backend folder:
cd api-laravel
- Create a
.env
file and add your preferred database connection. - Run
composer install
to install project dependencies. - Generate your application key
php artisan key:generate
. - Run
php artisan migrate --seed
to create the migrations and seedrs locate at in/database/seeds/UserSeeder.php.
- Run
php artisan serve
to start the server port8000
.
📌 Getting started with the mobile app
- Move yourself to the mobile folder:
cd mobile
- Run
yarn android
(orios
if your prefer) to start the mobile app
yarn android
command.
📝 License
This project is licensed under the MIT License - see the LICENSE page for details.