Recently, I started working on a passion project of my own that required a calendar interface. After looking around, I couldn’t really find any small-scale plugins that fit my needs, so I decided to create my own, and share how I did it with anyone in the future who would need something similar. Let’s get to it.
npx create-react-app my-app…
Version history in web applications has always been incredibly difficult to understand for me. Coming from a place where a couple of years ago, I didn’t know basic terminal commands, I surely didn’t understand something as complex as trying to take snapshots of objects in a database and creating other database records off of those objects.
Thankfully, after a ton of practice, along with Rails 6 and
ActiveModel::Dirty, I think I came up with a pretty simple and scalable solution to get version history in your Rails application working without any gems or separate libraries.
Firebase is an application development platform provided by Google that focuses on enabling developers to create powerful web applications with easy to use and easy to understand tools.
If you’re not familiar with Firebase, I would strongly encourage you to check out what they have to offer before reading through this tutorial.
In order to use Firebase, you will need to first set up a Google account. If you don’t have a Google account, you can set one up here.