Token-Based Authentication for AngularJS and Laravel Apps (continued)

This post is a continuation of the Token-Based Authentication for AngularJS and Laravel Apps tutorial on If you haven’t read it yet, head over there and take a look before continuing with this one.

Where We Left Off

In the tutorial on we created a new app called jot-bot to look at how to implement token-based authentication in AngularJS and Laravel by using jwt-auth and Satellizer together. On the Laravel side, jwt-auth let’s us generate JSON web tokens when […]

Laravel PUT Requests: Updating Only Specific Fields

Using a PUT Request to Update Records

Using a PUT request to update a record in a database can be tricky when you only want to update the value for a specific field. By default, the PUT request will override the entire entry, and this is often undesirable. Support for PATCH (used to update a specific field in a record) is increasing, but for various reasons, using it is not always an option. For those times when you need to use […]

Simple Typeahead With AngularJS and Laravel – Part 2

Part 2 – Setting Up the Back-End for our AngularJS and Laravel Typeahead

Now that we’ve got our front-end in place for our typeahead input, let’s work on retrieving data from a database instead of just from a static JSON file on disk. For the back-end we’ll be using Laravel 4.2 with a MySQL database.

Get the code on GitHub

This tutorial will assume a basic working knowledge of Laravel, so if you’re brand new to the framework, it’s worth getting familiar […]

Simple Typeahead With AngularJS and Laravel – Part 1

Part 1 – Setting Up The Front-End

Typeaheads are great for adding to a rich user experience in modern web applications, and luckily Twitter offers a JavaScript library called Typeahead.js which drastically simplifies setting this feature up. If you’re using AngularJS and Bootstrap, you’ve likely come across UI Bootstrap which is a set of native Bootstrap directives for AngularJS. In this two-part tutorial, we will get an AngularJS and Laravel typeahead working. Part 1 will focus on setting up the front-end […]

There are no more results.