In this tutorial, we will be using the Laravel PHP framework and jQuery to build a to-do list with Ajax.

Through out this tutorial, we’ll show you the basics of RESTful controllers, RESTful routing, and Request types. The list of topics covered in this chapter is as follows:

Creating and migrating our to-do list’s database

Creating a to-do list’s model

Creating the template

Inserting data to the database with Ajax

Retrieving the list from the database

How to allow only Ajax requests