Do NOT Write Another Project Until You Watch This Video

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.พ. 2025
  • ► Join my Discord community for FREE education 👉 / discord
    ► Follow me on Twitter 👉 / anthdm
    ► Follow me on GitHub 👉 github.com/anthdm
    My stack is a single file.
    Peace and love

ความคิดเห็น • 74

  • @anthonygg_
    @anthonygg_  หลายเดือนก่อน +3

    ► Join my Discord community for FREE education 👉 discord.com/invite/Ac7CWREe58
    ► Follow me on Twitter 👉 twitter.com/anthdm
    ► Follow me on GitHub 👉 github.com/anthdm
    Peace and love

  • @massy-3961
    @massy-3961 หลายเดือนก่อน +11

    Anthony something you need to try is ConnectRPC, especially if you’re gonna be mixing TS/Go together. It’s essentially a gRPC/Rest compatible RPC framework that unlike gRPC works in the browser out of the box. They have an implementation in Golang and it’s amazing.

    • @bovfbovf
      @bovfbovf หลายเดือนก่อน +1

      That's awesome, thank you for sharing

  • @twitchizle
    @twitchizle หลายเดือนก่อน +46

    my man discovered web server in go

    • @VinayKumar-vu3en
      @VinayKumar-vu3en หลายเดือนก่อน +1

      love his enthusiasm as he's discovering more things

    • @mattanderson616
      @mattanderson616 24 วันที่ผ่านมา

      I mean we're seeing the extension of PocketBase as a Go framework but PocketBase is basically Supabase with Auth/DB/Files/Admin, all contained in a single file you own rather than a paid service
      Pretty revolutionary imo

  • @iliasf2415
    @iliasf2415 หลายเดือนก่อน +1

    I really enjoy your videos a lot! They've taught me so much, and I'm very happy to learn from you. You're the first big Belgian TH-camr I've followed, and I admire you a lot. I hope to see you someday in Antwerp or somewhere else!

  • @NguyenDuy-mj3wh
    @NguyenDuy-mj3wh หลายเดือนก่อน +2

    Thats nice 🎉❤ I am looking for a simple way to ship my project faster. And here it is.

  • @erikslorenz
    @erikslorenz หลายเดือนก่อน +1

    That's pretty awesome. I got so tired of having multiple repos for a frontend, backend, etc. I've been doing something similar lately.

  • @hardikmaind9833
    @hardikmaind9833 หลายเดือนก่อน +1

    this is soo cool..would be applying this next time i create a mini/personal project

  • @krispekla
    @krispekla หลายเดือนก่อน +1

    Awesome video! Time to ship instead of quirking with configuration is very important and videos like this are very needed.
    Instead of react/remix try using Vue. It is much more straightforward, has better docs and it is easier to follow lifecycle of components compared to React.

    • @krispekla
      @krispekla หลายเดือนก่อน

      Also Adonisjs seems hidden from mainstream but has real potential just as Pocketbase.

  • @fadhlirahim
    @fadhlirahim หลายเดือนก่อน +1

    nice distribution idea. FS embed is amazing!

  • @Buiscit1738
    @Buiscit1738 หลายเดือนก่อน +2

    I been preaching about pocketbase as a framework for the longest lol

  • @GerardvanVooren
    @GerardvanVooren หลายเดือนก่อน +3

    Beste Anthony. Mijn project is ook Go. De server pack ik in met Docker en voor de client (in dezelfde repo) gebruik ik Fyne (ook in Go). Dus ik heb uiteindelijk maar twee executables. (misschien een paar meer)

  • @bilbobeutlin3405
    @bilbobeutlin3405 หลายเดือนก่อน +5

    If you embed you database into the binary, isn't the data lost when you build and deploy a new version?

    • @vladmariangabriel6433
      @vladmariangabriel6433 หลายเดือนก่อน +1

      Pocketbase is creating a folder for SQLite database pb_data

    • @massy-3961
      @massy-3961 หลายเดือนก่อน

      @@vladmariangabriel6433okay but what about in production where the pb_data won’t always be there for executions

    • @arafet3198
      @arafet3198 หลายเดือนก่อน +2

      Data is saved on disk

    • @LtdJorge
      @LtdJorge หลายเดือนก่อน +2

      The database binaries are in the main binary, but the database files (the data) will be created in a subfolder at runtime.

  • @SepehrYahyaee
    @SepehrYahyaee หลายเดือนก่อน +4

    Would you please share your Zed configuration settings ?, I can't find the settings online about switching off the brackets or paranthesis highlighting when your cursor is on them!

    • @itsghano
      @itsghano หลายเดือนก่อน

      you can try tweaking "experimental.theme_overrides" setting which changes the Zed's current color scheme

  • @dandogamer
    @dandogamer หลายเดือนก่อน +3

    What is Remix? Is it client side or one of those weird meta framework things that operates on the client/server. If thats the case are you running 2 different backends?

    • @oscarhagman8247
      @oscarhagman8247 หลายเดือนก่อน

      it is one of those "weird meta frameworks" but you can choose if the application should use SSR or be a SPA, he choose the SPA route so there are only static files for the go web server to serve

    • @dandogamer
      @dandogamer หลายเดือนก่อน

      @@oscarhagman8247 Gotcha that makes sense ty

  • @hassanad94
    @hassanad94 หลายเดือนก่อน +1

    Simplicity is king :D
    I just wonder is it possible to add pocketbase without the route handling? What if i just want to extend my backend with pocketbase and im fine with my current route handlers.

    • @dandogamer
      @dandogamer หลายเดือนก่อน

      Yes this is possible, using the `app.OnServe().Bind() function. You can register your entire handler :)

  • @remcoe33
    @remcoe33 หลายเดือนก่อน

    Do this all the time with svelte static adapter. Works great!

  • @fuadnafiz98
    @fuadnafiz98 หลายเดือนก่อน

    Hello Anthony Great Video Wanted to know a bit about security concerns, as the database is also embeded how do you (or in the golang) makes sure that the database is not being compromised from the application level

  • @SeanSmithPit
    @SeanSmithPit หลายเดือนก่อน

    Very cool video, thanks for sharing! Quick question, if the database is embedded in the executable, won't you lose all your data every time you deploy? I feel like I must be missing something there.

    • @dandogamer
      @dandogamer หลายเดือนก่อน

      Your mixing up database and where the data is actually stored. The data is stored in a folder on your server. If the server has a volume mount then you won't lose that data when you deploy new changes

  • @hardikmaind9833
    @hardikmaind9833 หลายเดือนก่อน

    yo man i did it....thanks.I didn’t know that we could also embed static files into the go binary.

    • @hardikmaind9833
      @hardikmaind9833 หลายเดือนก่อน

      i mean i used to do this in the djngo. but glad to know this also

  • @dima-l2m1k
    @dima-l2m1k หลายเดือนก่อน

    Man, this is really powerful combo, and easy to Go stack)

  • @cokoala5137
    @cokoala5137 หลายเดือนก่อน

    Can’t Bun also compile to a binary? Wouldn’t that simplify everything even further by eliminating npm, prettier, split codebases etc. ?

    • @dandogamer
      @dandogamer หลายเดือนก่อน +1

      Yes i believe it can, although from memory there is a limitation on what can be compiled down to binary and also the binary sizes are mahoosive!! Talking 70mb just for a single hello world print statement

  • @fntr
    @fntr หลายเดือนก่อน

    what editor do you use and do you have dotfiles?

  • @macawls
    @macawls หลายเดือนก่อน

    Love pocketbase, its so productive. Can spin up anything.

  • @boopfer387
    @boopfer387 หลายเดือนก่อน

    awesome, I just started using sqlite in my app for this same reason - setting up a backend db etc..

  • @adhdaddventure
    @adhdaddventure หลายเดือนก่อน +2

    I want to do this but with Svelte. How should that work.

    • @emmanuelezeagwula7436
      @emmanuelezeagwula7436 หลายเดือนก่อน

      the same way but with svelte on the frontend

    • @dandogamer
      @dandogamer หลายเดือนก่อน

      Basically serve all your compiled html/css/js inside a single directory. I.e. run `npm build` and then use go:embeded to serve from your build directory (probably /dist or /build). This can be done with any SPA framework (or even vanilla JS)

  • @RishiMishra-to9by
    @RishiMishra-to9by หลายเดือนก่อน +3

    Hi Anthony, I had a small question. Why did you choose Remix instead of Nextjs in your new projects? Especially when Nextjs is sort of becoming an industry standard

    • @bopon4090
      @bopon4090 หลายเดือนก่อน +3

      it's probably because Next.js do not allow / it's hard to make single page application. Most of the people who use next.js uses with node for server side rendering but if you want to make single page application then it's kind of hard due to nextjs's page router. That's what i found when i tried to create SPA with next js.

    • @RishiMishra-to9by
      @RishiMishra-to9by หลายเดือนก่อน

      @bopon4090 page router is like 2 years old now if I'm not mistaken, and nextjs 15 is pretty much a game changer with app router, react 19 integration and a lot of other cool stuff

    • @adiy77
      @adiy77 หลายเดือนก่อน +2

      ​@@bopon4090in other words, implementing Client side rendering using next js is pain, right?.. just wanted to confirm, ima backend developer having just higher level knowledge of FE.. thanks

    • @jaymason7097
      @jaymason7097 หลายเดือนก่อน +6

      Because next js feels like an abstraction made by cats.

    • @RishiMishra-to9by
      @RishiMishra-to9by หลายเดือนก่อน

      @@jaymason7097 😂👍

  • @havoq8257
    @havoq8257 หลายเดือนก่อน +1

    What theme is your Code Editor in?

    • @A-JesusWlkr
      @A-JesusWlkr หลายเดือนก่อน

      Yeah, look nice

  • @morgengabe1
    @morgengabe1 หลายเดือนก่อน

    Sorry, noobish question, but what was accomplished that you cannot do without pocketbase?

    • @dandogamer
      @dandogamer หลายเดือนก่อน

      Pre-configured auth including MFA and one passcodes and realtime messaging support. Aim of the game is to get from 0-1

  • @luccadibenedetto2986
    @luccadibenedetto2986 หลายเดือนก่อน

    Whats up with the admin dashboard being accessible through the same url? No auth and Same port? What about security?

  • @surajbhardwaj2599
    @surajbhardwaj2599 หลายเดือนก่อน

    which font are you using ?

  • @dejanduh2645
    @dejanduh2645 หลายเดือนก่อน

    Pocket base gives you some overhead, why don't just use the std only?

  • @Cdaprod
    @Cdaprod หลายเดือนก่อน

    Is it just me or is there a PIP overlay?

    • @Cdaprod
      @Cdaprod หลายเดือนก่อน

      It was just me 😅

  • @realoctavian
    @realoctavian หลายเดือนก่อน

    man I love balloons

  • @Bazixxx
    @Bazixxx หลายเดือนก่อน

    I did go for some time...coming from java/Kotlin...
    But go is so fucking ugly and noisy, that when I returned, I learned what I value at Kotlin... So much nicer and easier to wrote and read code.

  • @Sam-rb1id
    @Sam-rb1id หลายเดือนก่อน

    Nice!

  • @rogerramjet69
    @rogerramjet69 หลายเดือนก่อน

    you would be far better off using solidjs then that remix bloat.

  • @dev-mantas
    @dev-mantas หลายเดือนก่อน

    Normalli handle the SPA router thing in nginx or traefik

  • @ac130kz
    @ac130kz หลายเดือนก่อน +1

    you can also embed UI stuff with Rust :) Hopefully someone will add pocketbase support too

  • @selfcoder7258
    @selfcoder7258 หลายเดือนก่อน

    The source code so we try it out 😊

  • @mrcth6593
    @mrcth6593 หลายเดือนก่อน

    1000%

  • @amit_go
    @amit_go หลายเดือนก่อน +3

    From tweet to video 😂💯