Skip to main content

One post tagged with "api"

View All Tags

Build a To-Do REST API with BowPHP: CRUD and JWT Authentication

· 7 min read
Franck DAKIA
Principal maintainer

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.