A common way to do Authentication is by generating a JSON-Web Token and Ruby on Rails is the framework we use when building a JSON API. In this article, we focus on authorizing our endpoints and testing them using Postman.
Token-based authentication has gained a lot of popularity in securing an API. In this article, we'll take our Rails RESTful JSON API app to the next level through user registration and login, plus authentication with JSON Web Tokens.
The open source nature of Rails, and its rich ecosystem inherited from Ruby, gives it an advantage of both time and cost efficiency to get your API up and running fast. In this article, we’ll build a simple Rails RESTful JSON API using Rails.
If you have been using Heroku often, you’ll notice that it is not suitable for persisting image storage and should not be used for any permanent storage. In this article, we simplify how you can perform direct uploads to Cloudinary in your Rails application, in order to persist your image uploads.
File uploading is an important aspect of many Rails applications and image uploading, in particular, is one of the most important features. In this article, we’ll simplify the image uploading process in 7 simple steps to make your life easier, using Shrine.
Performing a functional, and integration, test on your application is needed to gain wider test coverage. In this article, you’ll learn how to work with controller/request specs, as well as integration testing using Capybara.
One of the key parts of being a developer is testing your code. So it's important to understand why, and when, to test, as well as testing best practices. In this article, we explain test-driven development with Rspec in Ruby on Rails.