Grab a cup of coffee, maybe two.
In this episode we add local-user authentication (username, password) to our JSON API in under an hour with help from
jwt, and a strong dose of patience.
This episode had so much, I almost broke it up several times while editing as it felt like it was too much. However, having an incomplete basic solution at the end of several episodes also felt wrong, so here we are. One hour later, one authentication enabled api.
Thanks for watching!
An express.js powered json api built for the "core" series.
$ git clone firstname.lastname@example.org:NathanBland/core.git $ cd core
$ docker-compose up