All Posts By

Uduak Essien

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
Coding

Understanding RSpec Model and Helper Specs

RSpec Model and Helper Specs are important tests for developers to run in applications. In this article, we’ll look at the most common roadblocks when working with them and share tips, and advice for using them.

Posted on 
Sep 2, 2020
  by
Uduak Essien
Read More