Cross-platform Flutter app with Laravel backend. Simple UI, efficient RESTful API, secure authentication, and scalable database management.
These instructions will guide you on how to set up and run both the Laravel backend and the Flutter frontend.
Make sure you have the following tools installed on your machine:
- PHP (for Laravel)
- Composer (for Laravel)
- Node.js (for Laravel Mix)
- Flutter SDK (for Flutter)
- Clone the repository:
git clone https://github.com/Abdallah-Salama2/Flutter-Laravel-API-Project
cd your-project2.Run the localhost server
1.Navigate to the Laravel backend directory:
cd flutter-api2.Install Composer dependencies:
composer install3.Copy the .env.example file to .env and configure your database settings:
cp .env.example .env4.Generate an application key:
php artisan key:generate5.Run migrations and seed the database:
php artisan migrate --seedStart the Laravel development server:
php artisan serve1.Navigate to the Flutter frontend directory:
cd flutter_application_12.Get Flutter dependencies:
flutter pub get3.Run the Flutter app:
flutter run