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 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.
In the first part of this tutorial series we created a basic Laravel application with all the data model needed for the application and a basic first controller to insert new room type. As we said at begin the frontend of the booking engine will be an AngulaJS single page application divided in two section, one for the final user and another for the hotel administration.