All Posts By

Uduak Essien

Coding

Testing and Securing Rails API Endpoints With JWT and Postman

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.

Posted on 
Jul 15, 2021
  by
Uduak Essien
Read More
Coding

How to Build a RESTful API Authentication With JWT (TDD Approach)

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.

Posted on 
May 4, 2021
  by
Uduak Essien
Read More
Coding

Test Driven Development of a RESTful JSON API With Rails

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.

Posted on 
Mar 18, 2021
  by
Uduak Essien
Read More
Coding

Rails Direct Uploads to Cloudinary Made Easy With Shrine

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.

Posted on 
Feb 3, 2021
  by
Uduak Essien
Read More
Coding

Rails Image Upload in 7 Simple Steps Using Shrine

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.

Posted on 
Jan 14, 2021
  by
Uduak Essien
Read More
Coding

Understanding RSpec Controller/Request Specs & Integration Tests Using Capybara

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.

Posted on 
Nov 20, 2020
  by
Uduak Essien
Read More
Coding

Understanding Test-Driven Development with RSpec in Ruby on Rails

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.

Posted on 
Nov 2, 2020
  by
Uduak Essien
Read More