Cake API Setup

Installing CRUD plugin

Setup some database tables.

Update the config/app.php file with your database details.

Generate the database files with the bake command

Hash User Passwords

Update App Controller

Update Users Controller

Add Login Template File

Update Routes

Create Api Controller

Create Posts Api Controller