Stage 4 of 6

REST APIs & auth

Design JSON APIs, use API resources, authenticate with tokens and protect routes.

3–4 weeks2 resources1 exercise
Free. Tick off topics as you go.

Free resources2

Docs, videos and articles we recommend. They open in a new tab.

  1. MDN: HTTP request methods

    Docs

  2. Laravel Sanctum

    Docs

Practice exercises1

Short exercises to lock in what you learned. Tick them off when done.

  1. Build a token-authenticated tasks API

    Exercise · ~10 hrs