"Destined to fail, but if not.. does it scale" This should be the motto for all side projects
@okjosh2 жыл бұрын
Story of my f’n life
@phamduytrung91632 жыл бұрын
lol😟
@jorgeriveramx2 жыл бұрын
I laughed so hard because it is true and also my life story
@TitoCattoFerro7 ай бұрын
"Nah. I'd win."
@dom84292 жыл бұрын
we need another backend base service as an alternative to this one. and also a new javascript framework while we are at it
@HAL-9000-2 жыл бұрын
Written in rust
@Affax2 жыл бұрын
@@HAL-9000- Rust is 🙏 It's definitely my favorite language ever
@HAL-9000-2 жыл бұрын
@@Affax Mine too, followed by Go
@HorsiMusic2 жыл бұрын
Directus is a great alternative
@HAL-9000-2 жыл бұрын
@@HorsiMusic or hasura
@Oliver_Saer2 жыл бұрын
Just want to say that I absolutely love your humour - "your side project which is destined to fail", saying "sharding" but putting "sharting" on-screen, etc... Actually helps me retain the information because the laughs are keeping me focused, whereas other KZbinrs lose me within seconds due to their long-winded, monotone, no-nonsense approach to teaching programming concepts.
@dellagustin2 жыл бұрын
I'm glad I was alone in the room when "your side project which is destined to fail" came up, I started 😂 like an idiot
@felipeflores54032 жыл бұрын
He said he was gonna look at pocketbase over the weekend and here we are. Boy does he deliver!
@daytonmux2 жыл бұрын
TIL Firebase uses “sharting” to horizontally scale. Only downsides of this strategy are the underwear overhead and the smell, but I find the tradeoff to be worth it, especially if you aren’t doing much code-sniffing
@Steel00792 жыл бұрын
Underwear overhead and the smell xD
@JohnWalz972 жыл бұрын
Bruh 💀
@shortkeys732 жыл бұрын
Make sure you're consistently dumping your cache you'll be good to go 👍💩
@franciskafieh2 жыл бұрын
@@shortkeys73 HELPPPP
@MrShaheer2 жыл бұрын
bravo
@tsizzle_2 жыл бұрын
Follower for a while, thanks for all the hard work!
@apsufn41fkas9capsaclaw2 жыл бұрын
i love how pocketbase has real-time demo, so you can see other people testing it
@lionlike58562 жыл бұрын
I saw things I can’t unsee.
@hakuna_matata_hakuna2 жыл бұрын
Wait , that's user generated stuff ,, huh
@Ddxcv982 жыл бұрын
Start your project now by building your backend from scratch ❌ Spend endless hours looking at BaaS alternatives and never actually start your project ✅
@HAL-9000-2 жыл бұрын
That's the way
@devagr2 жыл бұрын
why you gotta call me out like that
@wlockuz44672 жыл бұрын
Start your project now by building your backend from scratch ❌ Spend endless hours looking at BaaS alternatives and never actually start your project ❌ Forget about the original project and create your own BaaS platform because none of the existing ones out there fit your "taste" ✅
@fexofenadinaGenerica2 жыл бұрын
So wait, all these services (firebase, supabase anythinbase) are used to avoid making a backend with node, flask, Django, c# etc? I really thought they were meant to host your backend lol Very noob much wow
@guilhermealveslopes2 жыл бұрын
@@wlockuz4467 Thats how most frameworks were born, maybe
@ricardofabilareyes2 жыл бұрын
I have a SASS project I made years ago with Laravel and uses SQLite. Never had an issue with it. On of the best engineering project of all time. A fully transactional database in just a simple file is awesome.
@pauls62772 жыл бұрын
I’ve been using Laravel for Medium applications and it’s amazing the power it gives you for your backend. Even better when they switched Webpack with Vite 🤩
@ko-Daegu2 жыл бұрын
Now let’s talk about security with SQLite
@marusdod36852 жыл бұрын
@@ko-Daegu security should be implemented at the backend level, not the database level
@yepee12 жыл бұрын
@@ko-Daegu you make your own solution handling access control to your services. And following best practices when hashing things.
@blubblurb2 жыл бұрын
I also used sqlite in a project. It run very fast was very easy to backup. Then someone replaced the implementation with sqlite because the person in charge said sqlite is not "professional enough"
@soviut3032 жыл бұрын
You can scale horizontally by giving each customer their own executable. You don't have to worry about "noisy neighbours", only one customer is affected if an app goes down, you can scale each customer independently and you can easily A/B test features or do progressive rollouts of new versions.
@jameslay65052 жыл бұрын
This is a surprisingly underrated strategy. For the small amount of communication that needs to be global, you can implement that as an integration and host that using whatever tech you like. You may never need it, depending on the use case.
@adityanuar2 жыл бұрын
cheapest horizontal scaling i can ever imagine
@soviut3032 жыл бұрын
@@jameslay6505 It's because people still think of databases as this big shared multi-tenant setup. So all the effort in the last 20 years of devops has gone into optimizing a monolithic data store so there's not much tooling around "one stack per customer". They'll say it's too hard to manage lots of small instances, but sink $500,000 into standing up a Kubernetes cluster to scale 5 microservices.
@WolfrostWasTaken2 жыл бұрын
@@soviut303 true, we use a different instance of our project for each client (each on a different machine), each with a separate database. And we have CI. No problems! This strategy is underrated
@jeremiahgavin96872 жыл бұрын
Wait, how? How does the executable get on their device and run?
@nacs2 жыл бұрын
This Pocketbase project is incredible. A single binary that does all that whereas Appwrite/Supabase require like 6 large containers. Definitely using this for my next "startup".
@MrRe-sj2iv Жыл бұрын
I like Appwrite but can love PocketBase so much. Appwrite is kind of overweight baas for a new startup
@OzzyTheGiant Жыл бұрын
This is the ultimate wombo combo! Go with Echo framework and Svelte for the UI plus SQLite for maximum portability; no Docker required. This is the gold standard for me in my mind; three seriously underrated pieces of technology orchestrated together to create a small binary that is easily self-hostable.
@lucasharskamp18972 жыл бұрын
SQLite is perfectly useful in production for mobile apps, to have local caching. Very useful for apps that require a lot of downloads while the user is likely not around a wifi-spot, or as a way to lower the amount of calls to servers.
@OzzyTheGiant Жыл бұрын
I use it for small e-commerce websites where I know for sure the shop is never going to reach thousands of customers a day (usually just mom and pop shops that want to sell just a few products on the internet to returning customers with not much advertising) and also for Headless CMS projects
@jeremiahgavin96872 жыл бұрын
Thanks for putting this out. I'm definitely considering this as the backend for a multiplayer browser game.
@lionlike58562 жыл бұрын
Use redis instead.
@PMantis0132 жыл бұрын
@@lionlike5856 why is that?
@GreyDeathVaccine Жыл бұрын
@@PMantis013 Redis is blazingly fast
@kennette2121 Жыл бұрын
I’m about to migrate from Firebase to Self Hosted Supabase for our infra for some client specific storage location requirements that cannot be met through GCP. Obviously I came to Fireship for inspiration!! Happy to read comments that say it’s not too tough ❤ 🤞
@mrvillage052 жыл бұрын
I've been running Supabase self hosted for a long time now, deploying on x86 was a really painless process if you follow their guide, and on the 1 CPU, 1GB of RAM I bought for the side project it's for it works great (the project also has super low traffic, but the specs are comparable to a basic Supabase plan). The only kink was when I tried to deploy on ARM, despite the images saying they're built for ARM and Supabase claiming they built them for ARM, the Postgres image simply doesn't work (the others do though). After a log of work, just building Postgres image from the supabase/postgres repo manually worked like a charm.
@winkleraron81752 жыл бұрын
Hope you don’t mind me asking, but I’ve been wondering if I might try hosting it for my projects too, but no cloud functions in the self hosted version has me hesitating. Has that been a problem for you at all?
@PenguinCrayon2692 жыл бұрын
how to protect supabase studio? i don't have experience with traeffic.
@mrvillage052 жыл бұрын
@@winkleraron8175 Cloud functions haven't been a problem for me personally, I use Cloudflare Workers for anything on the edge.
@usefulprogrammer98802 жыл бұрын
Still years after arm went mainstream… arm support for docker images is abysmal.
@th3pr0ject2 жыл бұрын
"It would work just fine for your side project that's destined to fail" - that hit hard man :)
@lachainedanorak43492 жыл бұрын
Go & Svelte are my favorite languages, thanks for the report !!
@brian_ball2 жыл бұрын
Perfect for my side project which is "destined to fail!" 🤣
@theterribleanimator17932 жыл бұрын
spoken like a true freelancer, hooraah.
@JohnDoe43212 жыл бұрын
If I expect my side project to fail, and it does fail, then it met expectations. And if it met expectations, was it really a failure? 🤔
@ark_knight2 жыл бұрын
@@JohnDoe4321 dayum this guy here giving existential crisis to all freelancers
@ricardocnn2 жыл бұрын
It is bound to fail because packetbase hasn't even reached version 1 yet
@boredguy16632 жыл бұрын
You know what, You convinced me to build my own backend. It seems way more easier than using and managing these.
@stefnirk2 жыл бұрын
That is always the end goal, but you can create an MVP in half the time using a BAAS.
@parablesboltnoel2 жыл бұрын
That's the Truth 100%. I highly recommend Laravel. The tooling and ecosystem is really amazing
@the_based_boy2 жыл бұрын
Hello, yes I would like to sell my own BaaS using a BaaS as a backend.
@BosonCollider2 жыл бұрын
For many CRUD apps just setting up a database plus Hasura may also be an option.
@rkvkydqf2 жыл бұрын
Writing a backend feels quite easy and fun to me. Frontend now just feels like an endless maddening search for the one true framework, hacking together a UI with CSS and a glorified text markup language, guessing types until you get a type error, and other nonsense. Writing a backend feels like you're engineering an intricate system with a goal of describing your data and how it changes state. You can choose any framework or programming language, use whatever cool thing you found convenient without fearing browser compatibility, and focus on real problems. It's quite fun if you have the time and it doesn't grow into a spaghetti codebase.
@juice22 жыл бұрын
Thanks for sharing this project, I am very excited to try it myself! Sqlite is a great database solution, but very underrated because engineers in companies gravitate towards complex setups to justify their jobs and salaries.
@okjosh2 жыл бұрын
Haha this is 100% true. Unfortunately I am one of those. Corps that can afford M$ stack can afford to buy me all the shiny toys I so desire. But hell if I am using M$ for my side projects.
@pigalex2 жыл бұрын
i just rolled my own backend + api framework instead. after chasing my tail a little bit it’s now at a good point of stability and i really like it. it’s basically just micro services but in a single daemon w/ hot loading
@anj0002 жыл бұрын
It really looks amazing. Self-hosting is the best hosting.
@rodrigoorellana2389 Жыл бұрын
what about security when your webapp starts scaling? self-hosting is cool if your app keeps simple
@smvnt38032 жыл бұрын
you gotta be kidding me, I literally got to know about PocketBase about 12 hours ago and here's a Fireship video on it woah
@cycla2 жыл бұрын
mind blown, this is exactly what I need and I've been looking for so long!
@LukePighetti2 жыл бұрын
I'm in the middle of a PocketBase + Flutter build on my Twitch channel, I'm really enjoying it so far. Totally recommend that folks consider it.
@pantch123452 жыл бұрын
Just wonna say, I love your videos and the way you present them to audience is brilliant . Thx ☺
@SantiagoMA2 жыл бұрын
I think that besides the real-time functionality, other HeadlessCMSs like Strapi, Directus, Keystone, Squidex, ParseServer or Cockpit can also be included in the same bucket of the previous mentioned technologies.
@adamnagy62062 жыл бұрын
We use supabase in production for 4k+ users, and We have spent few hours figuring out how to setup email templates 😅😅, and now it's okay there are some bugs like sometimes reset password would not get processed but it can be a client sided thing
@axeleli68452 жыл бұрын
if you need someone to help with development lmk
@lageekattitude2 жыл бұрын
Amazing video. I think Directus is also a great Firebase alternative.
@erkhesbatbold90102 жыл бұрын
normally i dont give reviews but maam youre amazing like i tried 2 videos on 2020 and one on 2022 but it wont work but i saw yr video today and it worked as being both content creators i respect your hard work and keep it up
@nomad_swe2 жыл бұрын
Hosting Supabase on my VPS behind Traefik currently and honestly didn't find it all that hard. Sure, some things were a bit finicky and not obvious but it wasn't a hair pulling exercise in my experience.
@KhoPhi2 жыл бұрын
"Side projects that's destined to fail" Developers: Why are we here, just to suffer!
@Nekoeye2 жыл бұрын
Exactly my thought. It's a bitter truth. In last Code review, he mentioned 5 users and I was like. yeah. just kill me.
@ezrapierce12332 жыл бұрын
Apparently so💀
@chrismarks74952 жыл бұрын
Always enjoy your videos so much. Just last week I was checking pocketbase and it put me to think too 🤔. A video about surrealdb would be great.
@RavenGhostwisperer2 жыл бұрын
Yes, surrealdb next please :)
@_johnathan2 жыл бұрын
I used ElefantCMS for years as a WP alternative which uses SQLite years ago. So fast!
@2441139knakmg2 жыл бұрын
my goodness! Your presentation blew my mind more than pb
@Tutoring-bl5gq2 жыл бұрын
Thanks for introducing this tool!
@maximenadeau94532 жыл бұрын
It looks a lot like Directus which is also excellent.
@chaitanyakulkarni64162 жыл бұрын
Here we go again
@HorsiMusic2 жыл бұрын
Am using directus and I fkin love it
@frankhuurman39552 жыл бұрын
@@chaitanyakulkarni6416 I expect a Directus review after next weekend xD
@jeremiahgavin96872 жыл бұрын
@Fireship
@cesaraugustosalesgomes23192 жыл бұрын
Directus >> Supabase
@olmrgreen19042 жыл бұрын
You are a bless to the dev community
@Kaiju33012 жыл бұрын
I’ve already made 7 JavaScript frameworks since this came out.
@bjunte21132 жыл бұрын
Yo after 50 seconds i am sold. Looks incredible!😍
@Vantivify2 жыл бұрын
Wooaa Then you definietly need to see SurrealDB !!!
@teguhliem57772 жыл бұрын
Wooooo, time to support the devs, Pocketbase is GOAT
@vivekpaliwar72172 жыл бұрын
To be honest , I did learn something out of this . I am just an beginner but still fireship videos are knowledgeable :)
@louispocheron4202 жыл бұрын
Idk if removing the flashing intro was even asked, but thank you mister for our eyes !
@thomasmelak2 жыл бұрын
YES TO THE PROXIMITY HOVER TUTORIAL :)
@hakuna_matata_hakuna2 жыл бұрын
This channel is a rare gem
@ChrisJaydenBeats2 жыл бұрын
Missed an opportunity to add a reverb on the “Does it scale”
@abdullahmoiz81512 жыл бұрын
Interesting gonna check it out I've always been a fan of SQLite and never understood some of the hate it gets
@deepakpune12 жыл бұрын
sqlite ftw
@MatthewTaylor862 жыл бұрын
I don't know if people hate it, so much as think it's just suitable for bootstrapping and should be replaced ASAP - which absolutely isn't the case
@everyhandletaken2 жыл бұрын
@@MatthewTaylor86 I have seen so many cases where documentation states that 'Get Started' examples are using SQLite & replace it with a 'real' db ASAP. I fell into the trap of believing it was not suitable to real workloads, but everyone is really positive about it & I need to re-think my life choices now.
@kadeallen35272 жыл бұрын
would love a 100 seconds of surrealDB. it looks very interesting and unique, and written in rust ofc
@sxlg_322 жыл бұрын
Really cool, though I prefer my databases with sharting thank you.
@sufilevy2 жыл бұрын
This made me question everything I know and wonder if it's actually sharting and not sharding. Good to know it's just a typo ÷)
@enkiimuto1041 Жыл бұрын
Just mentioning that if it is running on go, scaling vertically makes perfect sense due to the multi-threading capabilities.
@alichamas632 жыл бұрын
Finally, there are now 15 standards available.
@pilot87202 жыл бұрын
I love SQLite, I always use it for my projects. Good to see it gettin the love
@MattWyndham2 жыл бұрын
Watched this while “sharding”. Gained new perspective on the performance of my porcelain computer
@timogeiselhardt2 жыл бұрын
Just bought soft soft! So excited to get started!!
@Mafanca2 жыл бұрын
this is right what i need! gonna restart my side-project again
@xdotli2 жыл бұрын
Thank you so much for this jeff… im building a little scratchpad for my team
@ezikhoyo2 жыл бұрын
I mean, all that Go, Single Executable, Super Fast and such are very nice, but what you got me at was Svelte. Discovered Svelte months ago and fell in love. Hated Javascript/HTML/CSS/WebDev as a whole before (backend dev coming from java) and Svelte is insanity, but positive. And PocketBase sounds and seems so good (will definitely use it in my next project that'll definitely fail ;)) but than hearing it's using Svelte... not gonna lie, I had sex that felt worse than hearing that.... I would just hope it has more clients/sdks, e.g. Java for backend and Android support (never worked with Dart).
@cariyaputta2 жыл бұрын
Well, the stack sounds like a dream to me. And Dart/Flutter is awesome for mobile, give it a try!
@gaijinshacho2 жыл бұрын
My side project will never fail... (*points to temple black man meme). If I never start it!
@StephenGillie2 жыл бұрын
That database pricing feels high. You can get 5/8 as much on CockroachDB's serverless free tier. They're PostgreSQL-compatible and built on automatic sharding. Speaking of which, it's time to add Firebase, Superbase, and Pockebase to Offering Overview. Feel free to contact me if there are any details you'd like added - links in my channel's About page.
@Tarodev2 жыл бұрын
"And I'm sure it'll work perfectly fine for your side project which is destined to fail". God... so true
@amirgamil2 жыл бұрын
"The next MySpace" 😂 One of your best ever lines Jeff
@PauloSantosk2 жыл бұрын
It is blazing fast, baby!
@codingcrashkurse64292 жыл бұрын
Damn that looks wonderful. Already made a small introduction about this nice piece of software :). Thanks for making this video
@Liperium2 жыл бұрын
I like how there's like ~30 people checking PocketBase demo out usually, but right now it's at 1k + ahahaha
@vhwjpzf1z0fi73a2 жыл бұрын
I love PocketBase!
@WaszInformatyk2 жыл бұрын
I have found what i was looking for :-) THANKS 😃
@josephmartin62192 жыл бұрын
Love the recursive database relationship at the end 😆!
@s3rverlord2 жыл бұрын
I'm super happy to see my comment there.
@rayusaki882 жыл бұрын
Fantastic! 👏🏻👏🏻👏🏻👏🏻👏🏻
@user-rd5qf4oh6u2 жыл бұрын
> Sees firebase videos Alright seems good enough, gonna try to use it in my project > Posts supabase video Now... Okay will be worthy at long term if i want to selfhost > Goes back to firebase given sql databases and foreign tables are too much for me >Posts another alternative to both Pls can this end 😂
@joelazaro4612 жыл бұрын
It never ends. There's always "one more thing" around the corner. You just have to pick a tech stack and get good at it.
@danielchettiar56702 жыл бұрын
You gotta learn SQL, it's part of the fundamentals. Don't run from it, it's not that hard
@BosonCollider2 жыл бұрын
@@danielchettiar5670 Agreed. Being nosql is a downside of firebase, not an advantage. It gives you a document store that handles simple cases well and is relatively idiotproof in terms of making it difficult to accidentally create a poorly optimized query, but it can't handle anything complex that SQL or Cypher could.
@danielchettiar56702 жыл бұрын
@@BosonCollider Yeah exactly. Like even just in terms of making of yourself marketable for jobs, any serious endeavour out there tends to use SQL. So you just end up hurting yourself.
@chadelliott7629 Жыл бұрын
"Your side project that's destined to fail"... Instant subscribe
@paillat6 ай бұрын
We are running supabase self hosted in production, and, it went. It took some time though. Some lots of time.
@jmunguia292 жыл бұрын
“Your side project that’s destined to fail”… 😂😂 getting a little personal this morning
@Raphaeloper2 жыл бұрын
1:54 Poor Firebase, it sharted itself...
@knight_kazul2 жыл бұрын
I'd love to see a video about htmx.
@MisterKitKit2 жыл бұрын
this in combination with railway is just fantastic to use !
@guiiimkt2 жыл бұрын
How did you deploy it on railway? I had to deploy via a dockerfile in a github repo. I was wondering if there is an easier way
@stevemcwin2 жыл бұрын
Hey Jeff, could you do a video explaining the Nim programming language in 100 seconds please?
@navicstein2 жыл бұрын
Nim is very underrated and I wonder why big companies didn't adopt it
@Technique19952 жыл бұрын
Please do videos on side hustle projects. Love from India 🇮🇳
@mr.norris38402 жыл бұрын
I’m sold.
@a_maxed_out_handle_of_30_chars2 жыл бұрын
thanks, will try this
@ismaelbernard60152 жыл бұрын
Awesome !!!!!!
@catholic_zoomer_bro2 жыл бұрын
Wow, I didn't know I could self-host supabase. Who would have thought I'd learn that in a video about another software
@victorpinasarnault91352 жыл бұрын
I learn and have fun. Perfect!
@lancemarchetti86732 жыл бұрын
Love the embedded SQL idea!
@metatronicx2 жыл бұрын
This review is really really informative
@Nabi_252 жыл бұрын
TNice tutorials was excellent man, thank you so much! I'm a 40yr old noob that's always wanted to try making soft and never got around to it. I'm
@natemills90302 жыл бұрын
Finally, somebody who spells sharting correctly.
@HotRatsAndTheStooges2 жыл бұрын
Would love to see a video on SurrealDB. Looks like an incredible new technology
@Im_Ninooo2 жыл бұрын
Go FTW! 💙
@s3rverlord2 жыл бұрын
Loved this!
@jonathanhoyos81912 жыл бұрын
Nice. I love go. I'll see this new tech.
@lashlarue792410 ай бұрын
Serious comment, can you do a comparison between Firebase / Supabase / Pocketbase / AnyOtherBase? You think this is not a serious thing but some of us are new and just trying to learn the very big picture story so we can choose what technologies to focus on. Most of my time is spent not actually doing, but just keeping up with what is possible and what is worth investing my time in learning.
@SeoFer9 ай бұрын
My comments on those as a self-hosted centric point of view Firebase = NoSQL, Vendor lock with google,good language support, no self-hosting Pocketbase = SQLite with guard rails, I think it’s pretty cool but not for me as it’s pretty hard to extend (like if you want to add graphql you’re hopeless) Supabase = Postgres with a fancy ui pretty similar to pocketbase, you can self host with a docker image which makes it really convenient. And their preconfigured plug-ins 🤌 mwahh If you want database as a service I’d probably pick d1 or turso. For self hosting probably still pick plain postgress if I don’t need any fancy stuff. But to be honest pairing most of these with drizzleorm will make it a piece of cake to manage your schema (and doing mutations if you’re using js/ts )
@etherbeans2 жыл бұрын
Go for the win!
@sage_gamers2 жыл бұрын
Please make video on your journey as a developer and the ups-downs you faced. btw love watching your video and it inspires a lot ^_^
@srandista11nuda592 жыл бұрын
It is literally my birthsday and today i decided to start learning GO wow
@rasalas912 жыл бұрын
1:54 LMAO "SHARTING" sharding? Looooooooooool.
@jishanshaikh42 жыл бұрын
#suggestion Idea: Get most popular technologies and get their open source alternatives in the Code Report, like this one
@_romeopeter2 жыл бұрын
With so many tools and framework coming out everyday. Developers really need start taking meditation classes to know which is right for their projects.