Build a To-Do REST API with BowPHP: CRUD and JWT Authentication
We already covered the server-rendered To-Do list — HTML forms, sessions, the works. This time we'll build its API counterpart: a stateless JSON REST API where clients authenticate with a JWT and every task belongs to the user who created it.
By the end you'll have register/login endpoints that hand out a token, and a full set of CRUD routes that only ever touch the current user's tasks.