In this episode, we look at two different ways to handle donations with Stripe. The first method is a "no code" way that would work on any website that may not have a backend. The second method, we use the Stripe gem and their API to create a Checkout session for handling donations.
Sometimes we find ourselves in a situation where we are handling the releases for an important application in our organization, but with each release, a regression/happy path testing must occur. We can use Ruby and Capybara to test these external sites.
Continuing on from the previous episode, we look at creating a Docker Swarm cluster and using Traefik to load balance and route requests to various applications. Using this and CloudFlare proxies, we're able to create and deploy hobby applications in minutes.
I often create Rails projects and while some of these applications are fairly simple, deployment to a production environment still requires a lot of infrastructure setup. In this episode, we take a look at creating a Rails project template and being able to deploy it to a production environment within minutes.
As an application grows in popularity and usage you'll need to scale the application to support your new users and their data. One way in which your application may need to scale is on the database level. In this episode, we look at reading from a replica database while writing to a primary database. We also look at structuring our application top support multiple databases; each containing their own schema.