Rails 5 is a great choice for your new API application. It has build-in api mode that has everything you need without the unnecessary “full stack” stuff. In this article I will show you how to setup your new Rails 5 API app with JWT (JSON Web Token) authentication. Step 1 — Rails in api modeAssuming you have Ruby and RubyGems already installed (if not, I recommend great step-by-step guide on http:
![Rails 5 API + JWT setup in minutes (using Devise)](https://cdn-ak-scissors.b.st-hatena.com/image/square/67603fb7eef7432bf49b2aa626bd36e4c2c3f1e4/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A393%2F1%2ALVpAcf7V4v_CUF_shr_8Mg.png)