Like i did some time ago for AngularJS i want to write a simple tutorial useful to setup a new application using Laravel 5.2 and Angular 2 together using the asset pipeline offered by Laravel.
We are going to setup the 5 mins quickstart of Angular 2 Beta into a Laravel view. We will use Laravel Elixir to create a basic gulp task to compile the Typescript Angular code and to move some file.
In this second part of the tutorial we will see how to create the shopping cart for our e-shop. The cart will be associated to the customer and stored into the database. Using this approach a customer that will leave our shop and come back after some time will found his cart as he left it.
In this tutorial series we are going to build a simple but complete digital goods e-shop using Laravel 5.1. The shop will sell only digital articles in a zipped file format, downloadable by the customer once the order and the payment is done. It will be something like ThemeForest or other site where you can buy files.
In this part of the tutorial series we will see how to create a page where, after the reservation has been made, the customer can pay it. Laravel itself come with a module to directly integrate with Stripe, it’s name is Cashier. Stripe is an online credit card payment system where, after a simple registration, you can start receiving payment via credit card using some exposed API and pay a little commission to it.
In the first two parts of this tutorial we created the backend of the application where the hotel owner can create room types and assign it a price for a certain dates. Now we need a final user interface where the customers can search a room and check for availability and finally book it.