Local or session storage in the browser might feel like the right place to store
a JWT [https://jwt.io/] when authenticating your client-side app against a
backend API. Maybe it feels like the right place because I told you to do that.
But its not right! Its wrong and…
Are you sick and tired of handling endless exceptions, writing custom logic to
handle bad API requests and serializing the same errors over and over?
What if I told you there was a way to abstract away messy and repetitive error
raising and response rendering in your Rails API? A…
Trello is a hugely popular project organization tool, and my team uses it every
day to plan development projects, lessons for our students and more.
However, if you're like me, it doesn't matter how many lists you make if you
then forget to look at the list and do the…
In an earlier post [https://www.thegreatcodeadventure.com/building-a-super-simple-rails-api/], we built
a super quick and super simple Rails API using the Active Model Serializer gem
and the Active Model Adapter.
There's been a lot of growth lately, however, around JSON API.
What is JSON API?
So, what is JSON API…
In an earlier post
[https://www.thegreatcodeadventure.com/jwt-authentication-with-rails-ember-part-i-rails-knock/], we took
a look at JWT authentication in Rails, and implemented a JWT authentication
system using the Knock gem.
Here, we'll drop down a level and re-build our JWT authentication system from
scratch, without the help of the Knock gem. You…