00:00:00Firebase is amazing right up until your app actually starts growing.
00:00:03You get users, your traffic goes up, and suddenly your backend isn't the problem anymore, it's
00:00:09actually your bill.
00:00:10And worse, you realize you don't actually even control your backend, Firebase does.
00:00:14But what if you could actually keep all the good parts, auth, database, storage, real-time
00:00:19functions, all this, and run it yourself while still owning the data?
00:00:24This is AppRite, an open source that a lot of devs have been switching to over the last
00:00:28year.
00:00:29Let's go and see how to set it up in just a few minutes.
00:00:37So we know Firebase gives us auth, real-time database, storage, messaging, all this good
00:00:42stuff.
00:00:43That's why so many devs actually start there.
00:00:45AppRite gives us these same core building blocks, plus team, self-hosting, messaging providers,
00:00:52and even AI tools.
00:00:54The difference here is simple.
00:00:55It's your server, it's your VPS, it's your setup, and it's your rules.
00:00:59If you enjoy these kind of open source tools that speed up your dev workflow, be sure to
00:01:03subscribe to the Better Stack channel.
00:01:05Now with AppRite, we get authentication with email, OAuth, magic links, anonymous sign-ins,
00:01:10and even MFA.
00:01:12You get real-time database with a mix of document and relational structure.
00:01:15You get stored with file transform.
00:01:17We get serverless functions in over 13 languages, messaging for push email, SMS, all this good
00:01:23stuff.
00:01:24And you can self-host it or use the cloud.
00:01:27And here's the part that surprises most people.
00:01:28For something this powerful, it's actually really easy to self-host.
00:01:32So let's not just talk about it.
00:01:34Let's actually start to spin this up so I can show you guys how to actually integrate AppRite
00:01:38into one of your projects.
00:01:39So the first step is simple.
00:01:41Make sure Docker is running, okay?
00:01:43And then within your terminal, I want you guys to fire up this command, and then we're going
00:01:46to run a Docker Compose command here.
00:01:49And that's it.
00:01:50The backend is already set up.
00:01:51It's ready to go.
00:01:52It's going to bring us to this page where you can either create an account or log into your
00:01:56existing AppRite account.
00:01:58Now we're going to create a new project here.
00:02:00I'm just going to call this TodoApp because that's what we're showcasing.
00:02:04And then we're going to copy the project ID.
00:02:06We're going to need to add this to our ENV file later, which you can save it now, or you
00:02:10can just drop it into the ENV file directly.
00:02:13Next we're going to add a web platform for local development.
00:02:16I'm going to go to auth, web apps, and then add platform.
00:02:19We can set the host name to just local host and we're going to save it as is.
00:02:23Now we can set up our database and we're going to create a collection.
00:02:26Now the database as a whole, a collection is really just a table within that database.
00:02:30And we can create as many columns as you need.
00:02:33Now for this, I'm just going to use things like email, title, content, and let's just
00:02:38say user ID.
00:02:40We can go in here and set the permissions.
00:02:42Now any is for anyone who's logged in or not logged in.
00:02:45So I'm just going to set those to read.
00:02:48Then everything else is going to be for a user who is already logged in.
00:02:51So it's a to-do list.
00:02:52Let's just do all the basic CRUD operations of read, update, delete, all this stuff.
00:02:57This is one of the best parts because AppRight handles all this right here within the backend.
00:03:02It's super easy.
00:03:03It's just us choosing a few boxes.
00:03:05Now we can connect it to our code.
00:03:06We can add the endpoint, all the data we have, which is really going to be our project ID,
00:03:10our database ID, and the table name itself directly into your project's ENV file.
00:03:16And what looks like a full backend setup is really just a few little pieces that we connected
00:03:20within AppRight and we took those into our code.
00:03:23Okay.
00:03:24Now let's test it out.
00:03:25We can launch it.
00:03:26I'm going to go here and just create a new user account.
00:03:29So we're going to sign up.
00:03:30And then once we're logged in, we can actually try to create a task.
00:03:33I'm going to give it a title and I'm going to give it some type of description and we're
00:03:37going to add.
00:03:38Voila.
00:03:39You can see here that there are no errors, right?
00:03:41It's pushing it to our application.
00:03:43And if we jump back into AppRight, we can see some data coming through.
00:03:48Now if I launch this in two tabs and one tab, we could be logged in and in the other tab,
00:03:53I'm not going to be logged in.
00:03:54If I push data in the first tab, it is going to populate the second tab that has the read
00:03:59only field for anyone who's logged in or not logged in.
00:04:03So with a very small amount of code, we actually have everything synced together with authentication
00:04:08and it's actually taking data and populating our database, pulling that so we can see it
00:04:13on multiple pages.
00:04:14So why are devs actually moving to AppRight?
00:04:17Well, the first one is pretty obvious.
00:04:18It's ownership.
00:04:19You actually own the data, right?
00:04:21This is an open source project.
00:04:23It allows you to protect more of that.
00:04:25Plus there's no pay per seat pricing, right?
00:04:27As you grow something with Firebase or Superbase, there are going to be hidden fees.
00:04:31Well, they're not really hidden, but there's going to be fees with those things.
00:04:35And most of the features that we have here in AppRight, they already have them in Firebase
00:04:39and Superbase.
00:04:40So we're not actually missing out on anything.
00:04:42You can self host it or use their cloud and their SDKs are pretty good with things like
00:04:47React and Flutter.
00:04:49Now again, it still is open source.
00:04:51So it's not amazing, but as devs, we can work most of these out pretty quickly.
00:04:55So it's not going to be a huge pain point.
00:04:57The first one is you need to know Docker, but that one's easy enough.
00:05:00Okay.
00:05:01So if you know Docker, this is brilliant because we're just spinning it up really fast.
00:05:05There's no built in global CDN or edge function.
00:05:07So if you want that, you're going to have to integrate something like Cloudflare.
00:05:10The database is MariaDB based.
00:05:13So it doesn't have Postgres like Superbase does.
00:05:16And if you want to scale big, you're going to need some type of monitoring, which is true
00:05:20for any type of self hosted tool like this.
00:05:22And this is where tools like better stack really come into play here.
00:05:26Now should you actually use this or maybe the better question is who is this actually for?
00:05:30Maybe you're a dev or startup that's trying to avoid these growing bills.
00:05:34Okay.
00:05:35This is great.
00:05:36This is really cool.
00:05:37If you're more privacy focused and care about control, this is also going to be good.
00:05:40If Flutter and mobile devs who want really good SDKs, this is going to be great for that
00:05:44too.
00:05:45Remember, we're really decreasing the bill here.
00:05:47So if you're about saving money, that could be anyone here.
00:05:49Yeah, this is going to be a cool tool for that.
00:05:52If Firebase feels too expensive as you grow and Superbase just feels like too many moving
00:05:56parts, I feel like AppRight might be just in the middle of this.
00:06:00That's why it's such a strong option here going into 2026.
00:06:04So in just a few minutes, we spun up a backend, we synced everything, and we got to see why
00:06:08this is a good option for so many devs looking for an alternative to Firebase and Superbase.
00:06:13If you want to give this a try, I've dropped some links and docs in the description, head
00:06:17on over, check it out.
00:06:18It takes less than a few minutes to spin up.
00:06:20So it's definitely worth a shot.
00:06:21If you enjoy coding videos and open source tools like this one, be sure to subscribe
00:06:25to the better stack channel.
00:06:27We'll see you in another video.