When you are using Sidekiq to handle asynchronous jobs, some times there are exceptions and jobs failing, and I say sometimes because your environment is probably perfect, there is no lag, all services your jobs depend on are always on and responsive, and you probably write better code than most other developers 😛 otherwise it…
Category: server-api
5 easy steps to implement JWT (Javascript Web Token) authentication for your API Only Rails apps
If you are writing an API only rails app, your clients will need to authenticate in some way to use your API, you have of course many options to choose from: You can build your own authentication You can Use a plugin like Devise You can use OAuth both accepting other provider or implementing your…
6 reasons to stop using REST and start using GraphQL
Following up the post about a Rails API only app, lets talk about why you should not use REST in your API app. 1: too much unneeded information Have you ever written a client application to any API? And when you did it, was there a query you needed to do that returned a lot…
API only app? use rails and be happy!
Sometimes we need to create only an API, an application without a user interface, for example if you’ll have someone else built later a mobile client for that API, or even a full SPA web client, there are many reasons to build an API only app. And since there are that many reasons, rails helps…