Build a RESTful JSON API With Rails 5 – Part One

Rails is popularly known for building web applications. Chances are if you’re reading this you’ve built a traditional server-rendered web application with Rails before. If not, I’d highly recommend going through the Getting Started with Rails page to familiarize yourself with the Rails framework before proceeding with this tutorial. Continue reading “Build a RESTful JSON API With Rails 5 – Part One”

How to Troubleshoot and Fix a Brute-Force Attack in WordPress on a DigitalOcean Droplet

Introduction

While running a WordPress installation through a hosting service can be a convenient way to start a website, it’s not without security vulnerabilities that may sometimes be hard to troubleshoot. Brute-force attacks, cyberattacks that rapidly work to guess and access personal information like logins or passwords, happen when these vulnerabilities are exploited. Brute-force attacks can be placed within any vulnerability, and can sometimes originate from your website. Continue reading “How to Troubleshoot and Fix a Brute-Force Attack in WordPress on a DigitalOcean Droplet”

How To Manage Infrastructure Data with Terraform Outputs

Introduction

Terraform outputs are used to extract information about the infrastructure resources from the project state. Using other features of the Hashicorp Configuration Language (HCL), which Terraform uses, resource information can be queried and transformed into more complex data structures, such as lists and maps. Outputs are useful for providing information to external software, which can operate on the created infrastructure resources. Continue reading “How To Manage Infrastructure Data with Terraform Outputs”

Getting Started With Python Requests – GET Requests

In many web apps, it’s normal to connect to various third-party services by using APIs. When you use these APIs you can get access to data like weather information, sports scores, movie listings, tweets, search engine results, and pictures. You can also use APIs to add functionality to your app. Examples of these are payments, scheduling, emails, translations, maps, and file transfers. If you were to create any of those on your own it would take a ton of time, but with APIs, it can take only minutes to connect to one and access its features and data. Continue reading “Getting Started With Python Requests – GET Requests”