This project was develop for study of Laravel 5.1 and Ionic 1. It is basically a mobile application built with Ionic consuming a REST API built with Laravel.
-
To install this application following the instructions below is necessary to have Composer and PHP CLI.
git clone https://github.com/deoliveiralucas/laravel-ionic-project.git cd laravel-ionic-project composer install
-
Before continue the process, it is important to create and configure the
.env
file, like the.env.example
.php artisan migrate --seed php artisar serve --host=0.0.0.0:8000
-
Inside the same directory where the Laravel application was cloned.
cd ionic npm install bower install
-
Just set the push notification as development mode, run and access the browser.
ionic config set dev_push ionic serve
-
Menu with options to user orders and create a new one.
-
List of products that the user has added to the cart with the option to add a coupon discount with QR Code.
-
List of user orders with the option to see more details or to see the delivery.
-
Detail of an order with a map to see where is the delivery man.