The FASTEST way to create a backend for your app👩‍💻

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024

Комментарии • 298

  • @CodingWithLewis
    @CodingWithLewis  2 года назад +115

    Link: github.com/pocketbase/pocketbase

    • @sakinahashmi5235
      @sakinahashmi5235 2 года назад +2

      Hello Lewis , Can you make a detail video of this please

    • @greendsnow
      @greendsnow Год назад

      PB is Go, Appwrite is more customizable.

    • @drungean3505
      @drungean3505 6 месяцев назад

      Cheers

  • @scrimpysquare1485
    @scrimpysquare1485 2 года назад +1316

    Naw he said he wants his “backend to handle multiple users”

  • @CodingWithLewis
    @CodingWithLewis  2 года назад +76

    Back to showcasing more open source projects to help you be a better Dev 👩‍💻

    • @efficientgaming4603
      @efficientgaming4603 2 года назад +4

      I'm nobody to decide on this but could you cover more FOSS and dev topics on linux?

    • @lolous-studio
      @lolous-studio Год назад

      I still use Supabase all the time

    • @RayB-w5q
      @RayB-w5q 4 месяца назад

      I've learnt a lot from you and gained more confidence in getting into programming currently learning Python and GO, and these open source projects you keep sharing really help, Thanks!

    • @varunbhalla875
      @varunbhalla875 Месяц назад

      Django is better than pocket base?

  • @tubefile100
    @tubefile100 Год назад +185

    "I want to make sure that my backend can handle multiple users" 🤣🤣🤣🤣🤣🤣

  • @Trosshack
    @Trosshack 6 месяцев назад +8

    Lmao 😂 bro should of worded that different "make sure my backend can handle multiple users at a time" 😅😅 thank you for the chuckle 😂 made my morning 😂😂😂😅😅😅😅😅😂😂

    • @thatsalot3577
      @thatsalot3577 3 месяца назад

      I known it's not possible but pocket base indeed can handle a lot more concurrent users with open websocket connections on the same hardware compared to any custom backend, especially node

  • @FireWyvern870
    @FireWyvern870 5 месяцев назад

    If I recall correctly, pocket base only support sqlite. So if you wanna migrate to other databases in the future, please keep this in mind.

  • @randomname2437
    @randomname2437 2 года назад +2

    Kind of unrelated but the go mascot is the best mascot in programming

  • @xerox-f1p
    @xerox-f1p 2 года назад +3

    Tym to learn another lang 🙂

  • @mrjanemba
    @mrjanemba 2 года назад

    You know what i would like a video on? A tips guide on how to spot projects on github that are actually malware.

  • @TheseEyesSeeDarknessClearly7
    @TheseEyesSeeDarknessClearly7 4 месяца назад +1

    If you make iOS apps, how would this be better than Firebase?

  • @svenmify
    @svenmify 5 месяцев назад

    “Handle multiple users at the same time”, really gotta try your best not to be able to do that tbh. Even in 1995 (when php was released), or before that, it was pretty trivial

  • @geteducatedyoufool4563
    @geteducatedyoufool4563 5 месяцев назад

    If your app uses SQLServer then microsoft already has a solution = localDB.
    This allows you to connect to a DB and even query it like with MSSM without needing a turn your local machine into a DB server
    A lightweight and accessible DB

  • @tanmeetsingh5399
    @tanmeetsingh5399 2 месяца назад

    He looks like Thomas Schubert from series "King of Stonks", go checkout yourself if you don't believe me..

  • @sarpemrekaya6942
    @sarpemrekaya6942 2 года назад +20

    What programming language is the best for back-end? I want to make simple dynamic web site.

  • @makowiec2k
    @makowiec2k 2 года назад +1

    Cool, like Django?

  • @christophjasinski4804
    @christophjasinski4804 Месяц назад

    I just want a backend which can handle one user. What’s wrong with you YT! 😂

  • @paulo.mendes
    @paulo.mendes Месяц назад

    nice

  • @Exiide89
    @Exiide89 2 года назад +1

    But does Google allow it as an alternative to firebase?

  • @konga8165
    @konga8165 2 года назад +1

    Supabase is the best

  • @vincenzo8640
    @vincenzo8640 2 года назад +12

    How is it compared to Firebase?

    • @CodingWithLewis
      @CodingWithLewis  2 года назад +11

      This is open source alternative. You can tell a lot of inspiration was taken but this is a great alternative! ALso check out supabase :)

    • @matthew_jackson
      @matthew_jackson Год назад +1

      Other than being FOSS, it is also self-hosted and extendable. The latter meaning you can import the Pocket base functionality inside a Go or Node project. This allows you to build out your own backend using Pocketbase as a framework, rather than completely relying on the built in functionality. Also, Pocketbase's data store is relational vs Firebase's json document scheme. This is better for 99% of applications.

  • @thundergabriel
    @thundergabriel Год назад

    Pocketbase it's still in beta , no production

  • @samislam2746
    @samislam2746 2 года назад

    It supports making an Api? Or it does ssr websites?

  • @fevicoI
    @fevicoI 2 года назад +17

    SQLite database to make a powerful backend capable of handling multiple users. What in the world did I listen to?

    • @andrewhabroad
      @andrewhabroad 2 года назад

      Yoooo I was thinking the same thing.

    • @Dohzr
      @Dohzr 10 месяцев назад

      Two is technically “multiple users”

  • @11bftw
    @11bftw 2 года назад

    Is there something similar for python?

  • @wahomemutahi1008
    @wahomemutahi1008 2 года назад

    I honestly didnt understand anything about it...please if you could find time..could you go through it?

  • @syahidbaddry3009
    @syahidbaddry3009 2 года назад

    is this same with firebase?

  • @Trosshack
    @Trosshack 29 дней назад

    Really should of thought about script before you filmed this lol... 😂😂😂

  • @mainendra
    @mainendra 2 года назад

    double thumbs up 👍👍

  • @FranzAllanSee
    @FranzAllanSee 2 года назад

    This doesnt sound good production for 2 reasons: 1. Uses sqlite, 2. Can only have 1 instance of this server at a time
    Looks like single point of failure to me

  • @calebprenger3928
    @calebprenger3928 4 месяца назад

    Wow, great! Until the service is no longer provided I'm a year

  • @shapelessed
    @shapelessed 5 месяцев назад

    Pocketbase doesnt scale. bye.

  • @Ilovescrolland
    @Ilovescrolland 7 месяцев назад

    Sqlite?😂

  • @MrFoxANDnoobie
    @MrFoxANDnoobie 6 месяцев назад

    🙏💀😭☠️

  • @RachidBoudjelida
    @RachidBoudjelida Год назад

    This is the worst tool to use, there are many more mature options. also how will this scale ? it's sqlite so we can kiss replication goodbye , so the only way to scale up is to buy bigger server....

  • @EiRA-hiE-x
    @EiRA-hiE-x 2 года назад

    Strapi is better

  • @chrislyu7211
    @chrislyu7211 2 месяца назад

    ???😑

  • @guinea_horn
    @guinea_horn 2 года назад

    This might be the worst way to sell this product lmfao. Just throw out buzz words that actually technical people will see right through

  • @ctkqiang
    @ctkqiang 2 года назад

    Back4app : damn

  • @entx8491
    @entx8491 2 года назад

    SQLite3 will lose you many users, why not mySQL/PostGRES?

    • @HansePeter-o8p
      @HansePeter-o8p 6 месяцев назад

      those are hard to setup, sqlite can be embedded in the single binary

    • @entx8491
      @entx8491 5 месяцев назад

      @@HansePeter-o8p You can use docker compose and have it working in one line.

  • @shibinrasheed4621
    @shibinrasheed4621 2 года назад

    Do u have a community
    I am a Amateur and have doubts 🥲 and if there's a community I would like to join

  • @Sindoku
    @Sindoku 2 года назад +158

    We’re just gonna put this comment on pause for a minute. “I want to make sure my backend is powerful and can handle multiple users at the same time”.

    • @neanda
      @neanda Год назад +2

      nah he ditent

  • @smaddiona
    @smaddiona Год назад +53

    Just dockerized it and built around a chat app with react, thats a very good tool
    And its open source so, if it does not have something you can always add to it

    • @SkyyySi
      @SkyyySi 6 месяцев назад +3

      You don't even need to dockerize it with how portable and easy to deploy it is, honestly.

  • @fredianriko5648
    @fredianriko5648 2 года назад +47

    this is more like for prototyping rather than building production-ready project

    • @crum--business
      @crum--business 8 месяцев назад +1

      So what will be a similar thing for production?

    • @SkyyySi
      @SkyyySi 6 месяцев назад

      ​@@danyala.1659Django is a web server framework. PocketBase is a database.

    • @SkyyySi
      @SkyyySi 6 месяцев назад +2

      You can absolutely deploy this to production.

    • @jacobenders1213
      @jacobenders1213 5 месяцев назад +7

      Unless you actually expect to suddenly have 2 million daily users... This framework can handle 99% of anyones small to mid sized project.

    • @FireWyvern870
      @FireWyvern870 5 месяцев назад

      ​@@SkyyySino, i think it only support sqlite, so you need to keep in mind for future migration to other databases if your users grow

  • @patrickalexanderlucasvande4214
    @patrickalexanderlucasvande4214 2 года назад +129

    I’m like almost 9 months coding, I could’ve understand shit what you were talking about, but now Jesus feels so good to understand what the hell you talking, my impostor syndrome is fading more and more hahaha

    • @lvlinty
      @lvlinty 2 года назад

      Whoosh..

    • @justkriso8149
      @justkriso8149 2 года назад +2

      Gj dude!

    • @RoccoTeh
      @RoccoTeh Год назад +10

      I've been programming for a few years and there's so many times where I still don't understand or know what I'm doing!
      Keep up the work man! Just be confident and pretend you know what you're doing even if you don't. That's how we learn.
      Fake it til you make it!

    • @MoonV29
      @MoonV29 Год назад +1

      @@RoccoTeh faking it now still, 2+ years now working in a MS company

  • @christianrazvan
    @christianrazvan 5 месяцев назад +2

    Sqlite and multiple users and powerful...u want to many things 😅

  • @MengLinMaker
    @MengLinMaker 5 месяцев назад +5

    The downside of PocketBase is embedded SQLite, so replication is not possible. And the infrastructure becomes inflexible. Not great if your requirements change with growing users.

  • @Its_me_mirza1
    @Its_me_mirza1 Месяц назад +2

    As a user, I can approve your backend is powerful for multiple users 😂

  • @elliotfriesen6820
    @elliotfriesen6820 10 месяцев назад +2

    Firebase on top

  • @heshanthenura
    @heshanthenura 8 месяцев назад +1

    fast doesn't mean that its better

  • @slliks4
    @slliks4 3 месяца назад +1

    For me the fastest way to build a backend is fast API
    Funny I feel Django is actually very nice to get something done fast
    I know there will be many controversies but chill Django gives you an admin dashboard, and many other core functions like user model e.t.c out of the box , let's not also forget about it's scalability
    Honestly it's so much easier to setup especially when using drf

  • @returnZeroo
    @returnZeroo 2 года назад +2

    Only bad side is It's sqlite

  • @FreeDomSy-nk9ue
    @FreeDomSy-nk9ue 2 года назад +7

    SQLite? that's the best you've got?

    • @mooooooooooomooooooooooomo6829
      @mooooooooooomooooooooooomo6829 Год назад

      Its a lol

    • @matthew_jackson
      @matthew_jackson Год назад

      SQLite is fantastic. What's wrong with it?

    • @azibekk
      @azibekk 6 месяцев назад

      SQLite can handle thousands of reads and writes a second even on low quality hardware.
      If your backend really does that amount of operations a second then you would be rich and hire a senior dev to migrate to postgresql if you want to 😅

  • @rahulprasad537
    @rahulprasad537 2 года назад +7

    hey i have a question,should i learn bootstrap after css or go for javascript? which is the best option?

    • @navnitkhandait6170
      @navnitkhandait6170 2 года назад

      Don't learn bootstrap learn tailwind css but before learn javascript and create website using html css and javascript

    • @CodingWithLewis
      @CodingWithLewis  2 года назад +5

      I would say just go straight for JS :)

    • @rahulprasad537
      @rahulprasad537 2 года назад +1

      Thank you

    • @ManiaBeats
      @ManiaBeats 2 года назад

      @@CodingWithLewis wouldn’t it make more sense to learn html and css since they are much more easier and by the time he picks up JS he will be able to build projects as he acquires more advanced JS skills. Plus this way it’s easier to stay motivated and not get discouraged

    • @ahmedaghadi8281
      @ahmedaghadi8281 2 года назад

      @@ManiaBeats bro they aren't talking about learning html or css, they were talking about learning bootstrap that implies he already knows css.

  • @eder3232
    @eder3232 2 месяца назад

    What your backend or baas you recomend for nextjs apps

  • @ricky4129
    @ricky4129 Месяц назад

    Powerful backed for... writing to sqlite database? 😅 Yeah very smart.

  • @hritikapal683
    @hritikapal683 2 года назад +29

    Hey thanks man you helped out really needed this :-P

    • @CodingWithLewis
      @CodingWithLewis  2 года назад +3

      Glad I could help!

    • @xerox-f1p
      @xerox-f1p 2 года назад +2

      For??

    • @rohanmanchanda5250
      @rohanmanchanda5250 2 года назад

      You don't need anything more than Firebase,

    • @pixobit5882
      @pixobit5882 Год назад

      @@rohanmanchanda5250 firebase costs money and isn't self-hostable

    • @rohanmanchanda5250
      @rohanmanchanda5250 Год назад

      @@pixobit5882 firebase has generous monthly limits that are free for use and could you explain 'self-hostable'?

  • @train_xc
    @train_xc 25 дней назад

    I can spin up a fully functional BE with authentically & apis in 30 mins, that can handle a few millions of concurrent DB write in just Django

  • @Saleh_Mohammd
    @Saleh_Mohammd 8 дней назад

    Nothing beats Java and C#
    In Back-End development

  • @ThatJay283
    @ThatJay283 6 месяцев назад

    but it uses sqlite3, so good luck scaling it. like, what if you want multiple backends accessing the same db? with sqlite3 you cant just do that.

  • @junebug9320
    @junebug9320 5 месяцев назад

    nah, fuck that, just open an smb server to the open internet and store everything in a plain text file.

  • @anitasunildesai
    @anitasunildesai 2 месяца назад

    Is it light weight? When app uploaded on google store, is it requiring more memory?

  • @leojohn6702
    @leojohn6702 Месяц назад

    I prefer building my own backend. Is cheaper

  • @heyjitendra
    @heyjitendra 2 года назад +1

    What's going on with these BaaS.
    Why all their name ending with "base"

  • @nefrace
    @nefrace 2 года назад +6

    I love how many of "developers" made their assumptions about Sqlite when they not even tried to look at the website and docs of this software.

    • @FireWyvern870
      @FireWyvern870 5 месяцев назад

      SQLite is fine when all your load can be served by a single backend process on a single machine. The moment you need multiple backends to handle more load, or the moment you need high availability, you can't do it with SQLite. Now, for streaming backups - how do you come back from node failure? You're going to incur downtime downloading your DB.
      Not to mention migrating to other databases as the volume grows will need a rigorous planning as well.
      I don't feel comfortable using sqlite as a server's database, but it's absolutely fine for mini database inside client machine.

  • @bharath2508
    @bharath2508 Год назад +1

    pocket base

  • @Pmarmagne
    @Pmarmagne 5 месяцев назад

    I thought sqlite didnt support concurrent connextions

  • @HeyyDixit
    @HeyyDixit 2 года назад +3

    Question :-- Is FireBase Good Option For Building Site Like Community Sites/Forum Sites??
    Me and My Team Building Site For Our Final Year Project And Thinking To Use NodeJs

    • @overanalyzing
      @overanalyzing 2 года назад +1

      I’d like to know the answer to this as well. I’m in the same boat just about

    • @HeyyDixit
      @HeyyDixit 2 года назад

      @OverAnalyzing… are you also developing a site like mine ??

    • @overanalyzing
      @overanalyzing 2 года назад

      @@HeyyDixit almost literally the same. An e-community platform. Upvotes, posting, notifications etc.

    • @HeyyDixit
      @HeyyDixit 2 года назад

      @@overanalyzing let's build sites together and help each other

    • @its.arjun.s
      @its.arjun.s 2 года назад

      Firebase should be okay for such projects. But if you're using nodejs then go for something better since firebase is used to avoid the need of a server.

  • @Deadnature
    @Deadnature 2 месяца назад

    Did I just get advertised at? Blocked.

  • @ThatJay283
    @ThatJay283 6 месяцев назад

    handling multiple users is easy, i wanna know how many

  • @lucassilverio8923
    @lucassilverio8923 12 дней назад

    But can we deploy in sqlite3?

  • @kekw7793
    @kekw7793 4 месяца назад +1

    Pocketbase not meant to be in production atm. Its so early. Dont use it in production.

  • @isomorphic97
    @isomorphic97 2 года назад +3

    Appwrite would be another alternativ

  • @armincal9834
    @armincal9834 2 года назад +1

    But django does all of this aswell and you can use Python which IMHO is way easier to use than go

  • @m3mes420
    @m3mes420 7 месяцев назад

    SQLite3 isn’t scalable 💀

  • @professorice4325
    @professorice4325 5 месяцев назад +2

    Anything built ready made is never truly ready made. You’re better creating everything from scratch.

    • @hypnotico7051
      @hypnotico7051 5 месяцев назад +1

      Found the freshman CS major

    • @FireWyvern870
      @FireWyvern870 5 месяцев назад +1

      It depends. If you make small project that don't expect it to grow much, this will be fine. But if it's a big project, and you expect some growing userbase, I don't recommend using this.

    • @thatsalot3577
      @thatsalot3577 3 месяца назад

      Listen mate, your customers probably don't care about what's going behind your client side code, if you know pocketbase good enough that you can create a working demo for your financer or early users,
      You'll save yourself from the trouble of spending thousands of hours writing custom optimised code and configuring aws just to know that nobody wants to put money in this thing and neither people want to use it.

  • @strangeman9872
    @strangeman9872 4 месяца назад

    SO its just django for django

  • @bharath2508
    @bharath2508 Год назад +1

    the fastest way is not the best way sometimes

  • @elir.torres8642
    @elir.torres8642 Год назад +1

    SQL lite has limitations that is why I moved to MySQL.

  • @duckboye118
    @duckboye118 2 года назад +1

    So it's an sqlite wrapper?

  • @OtsileM
    @OtsileM 2 года назад +16

    I've got a pretty powerful backend as it is, thank you very much

  • @penta_0
    @penta_0 7 месяцев назад +1

    Is it scalable though?

    • @SkyyySi
      @SkyyySi 6 месяцев назад

      It only scales vertically. But it's so efficient that, if you ever actually reach the point where horizontal scalling becomes the better choice, you probably have more than enough resources to migrate to whatever you want. And since it's a self-hosted, open source database, you can migrate much more easily than you could with most proprietary, cloud-only services.

  • @ravindrav1895
    @ravindrav1895 2 года назад +9

    Sir, your videos contain lots of information I'm gald I am one of your subscriber, my question is , can I use this in Python backend?

    • @CodingWithLewis
      @CodingWithLewis  2 года назад +6

      Yes, you can! I do all the time :) look up Django

  • @dgpreston5593
    @dgpreston5593 3 месяца назад

    Pause for applause...

  • @theabsdude
    @theabsdude Год назад +1

    What about Appwrite?

  • @pranupranav5563
    @pranupranav5563 5 месяцев назад

    SQLite in prod😂

  • @ExplodeCode
    @ExplodeCode 2 года назад +1

    Can you do opencv using python please and I also shouted your channel out in one of my videos

  • @LostInAutism
    @LostInAutism 2 года назад +10

    Was all in till I hear 2 things, go and SQLite... *shivers*

    • @DerLuukee
      @DerLuukee 2 года назад +1

      What's your problem with go?

    • @cindrmon
      @cindrmon 2 года назад

      i understood sqlite, but why go?

    • @soulhakr
      @soulhakr 11 месяцев назад

      @@DerLuukee GO is like “fetch” - Google keeps trying to make it happen, but it won’t happen.

    • @SkyyySi
      @SkyyySi 6 месяцев назад

      SQLite in WAL mode (which is what PocketBase uses) is faster than most other relational databases. Go is a language designed to make reliable and easy to deploy server-side applications. What's wrong with either of these choices?

  • @telkomschool2011
    @telkomschool2011 2 года назад +2

    Hey what software do you use to edit those video ?😀

  • @abeplus7352
    @abeplus7352 Месяц назад

    This channel is programming brainrot at this point.

    • @amirchegg
      @amirchegg 27 дней назад

      So true the guy doesn't know shit about programming

  • @edgargill7828
    @edgargill7828 5 месяцев назад

    Fastest promoter.

  • @temanangka3820
    @temanangka3820 Месяц назад

    Supabase?

  • @mariol8831
    @mariol8831 4 месяца назад +1

    Would love to see a version with postgres or mariadb

  • @salman0ansari
    @salman0ansari 2 года назад +2

    Backend to handle multiple users😂😂

    • @ahmedaghadi8281
      @ahmedaghadi8281 2 года назад

      Can you elaborate?

    • @salman0ansari
      @salman0ansari 2 года назад

      @@ahmedaghadi8281 no

    • @azibekk
      @azibekk 6 месяцев назад

      ​@@ahmedaghadi8281backend means it can handle lots of users at the same time. Saying multiple users is like saying 2 or 3 users and it sounds funny i guess 😅

  • @ward7576
    @ward7576 2 года назад +1

    You know what 1 file means?

  • @ashundeyan8031
    @ashundeyan8031 11 месяцев назад +4

    Not a huge fan of BaaS's, but I heard of it, and it seems cool! Something I do for my side projects is, I have a pretty robust template, and just copy over a lot of boilerplate, like Auth, etc. So you can really go similar speeds with any backend lang/framework after a certain point, in my experience, and have full ownership/configurability

  • @za7304
    @za7304 10 месяцев назад +1

    Gotta get that back end ready for a pounding

  • @kevinm.5765
    @kevinm.5765 11 месяцев назад +1

    Supabase is also amazing!

  • @Ididor
    @Ididor 2 года назад +1

    So basically Firebase

  • @dera_ng
    @dera_ng 4 месяца назад

    Sqlite3 database? What about concurrent transactions? Sqlite3 is great however if anything tries to connect when there's already an existing connection, the db just spits a "database is locked" error unfortunately.
    If you can use something else other than sqlite3 such as another SQL database like postgresql, then great!

  • @crazy-man
    @crazy-man 5 месяцев назад

    only 1 problem: authorization by token is not supported, it is very easy to hack.