Life is easy with Solid JS, Tailwind and PocketBase

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024
  • Build an app with Solid Start, PocketBase and Tailwind CSS.
    💬 Topics:
    - Working with Solid start;
    - Working with PocketBase;
    - Working with Tailwind CSS;
    - SQLLite tables & collections;
    - Real time notifications;
    - Styling and utility classes.
    🎈Other links:
    - More about PocketBase - • Backend Dev Is Easier ...
    - More about Tailwind CSS - • Is the Tailwind hype l...
    - More about Solid Start - • Solid JS just got better
    - Github Project - github.com/awe...

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

  • @Mario-ze3jr
    @Mario-ze3jr ปีที่แล้ว +33

    i've tried this exact tech stack for a small project and i think it's the definitive stack for small apps, everything is done very quickly with it. if SolidStart matures i think pairing it with something like Supabase might make for a solid (pun not intended) stack for complex apps in the future

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว +3

      Right! I think there is a lot of potential to scale things up with this one.
      Even PocketBase might turn out to be suited for larger apps in the future - they are still at version 0.1, so there is a lot of room to improve things.

  • @Almighty_Flat_Earth
    @Almighty_Flat_Earth ปีที่แล้ว +3

    Anything that adopts react nonsense syntax must be banned, so react, next and solid libraries must be banned by governments.

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว +2

      @Almighty_Flat_Earth I'm really curious at this point - why so much hate for React?

  • @bigmistqke
    @bigmistqke ปีที่แล้ว +6

    It's so crazy how easy it is to do realtime collaboration these days.

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว +2

      @bigmistqke I know, right? I remember the days of long polling, and then how my mind was blown away by websockets, even though implementing them was a real pain both on the backend and on the frontend at first.

    • @bigmistqke
      @bigmistqke ปีที่แล้ว +1

      @@awesome-coding ye ngl, until last month i thought for realtime collab we still had to go through all the websocket-hoops... But then i did a small project w firebase and i was just blown away. Ur video inspired me to play around with the other bases too!

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว +2

      @@bigmistqke I get what you are saying. This is one of the main reasons I started this channel - I was getting so comfortable in my Kotlin + React world that I started to believe I have all the answers :) Now I'm "forced" to explore other options and ideas, and it has been mind blowing at times.

  • @MattHeslington
    @MattHeslington ปีที่แล้ว +4

    Great video as always, thank you. This rapidly becoming one of my favourite dev channels. Thanks also for the amazingly useful Inline Fold plugin heads-up - one of those plugins you never knew you needed until you use it, and then you wonder how you ever coded without it. I would definitely recommend setting a key-binding in VS Code to toggle it on and off though - sometimes you do need to see all the Tailwind in a file at the same time..

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว +1

      Thanks for the kind words, Matt!
      I know, right? the HTML clutter was the main issue I had with Tailwind. Inline Fold does such a great job to hide all that away. Good point regarding the key-binding!

  • @devcaio
    @devcaio ปีที่แล้ว +4

    Authentication and authorization. Thanks!

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว +2

      @devcaio I'll add it to the list! Thank you!

    • @MarkConstable
      @MarkConstable ปีที่แล้ว

      @@awesome-coding Yes please, and using the same tools as this vid.

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว

      @@MarkConstable Will do!

  • @iduran
    @iduran ปีที่แล้ว +3

    Great video. Thanks a lot. Please add advance settings with PocketBase such as authentication and deployment.

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว +1

      Thank you for your feedback! I have more PocketBase content planned for the following months!

    • @iduran
      @iduran ปีที่แล้ว

      @@awesome-coding Great! Looking forward to it.

  • @konga8165
    @konga8165 ปีที่แล้ว +3

    Pocket base is neat but Supabase is way better and way more scalable and just as easy.

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว +4

      @konga8165 - I agree, Supabase is more mature and powerful. (I actually posted a video about it a while back - th-cam.com/video/9CuTxeioKF4/w-d-xo.html)
      What I like about Pocketbase is its overall simplicity. You download a 14mb executable file, and you gain access to a pretty impressive set of features in no time. Another benefit is the option to use the library as a framework you can extend on your own. I think there is a lot of potential here!

    • @MarkConstable
      @MarkConstable ปีที่แล้ว

      @@awesome-coding Definitely agree. It's excellent if you do not want to use 3rd party services.

  • @alfredoperez2420
    @alfredoperez2420 ปีที่แล้ว +1

    I use Svelte instead of Solid, I'm not used to JSX, but definitely a great stack 👍

  • @ritam_chakraborty
    @ritam_chakraborty ปีที่แล้ว +2

    Could have used the Show component instead of writing conditional statements directly in the jsx.

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว

      Yes, you are right! Thank you for pointing it out.
      I guess React habits die hard 😩

    • @ritam_chakraborty
      @ritam_chakraborty ปีที่แล้ว

      @@awesome-coding Can relate. 😆

  • @theMGKPL
    @theMGKPL ปีที่แล้ว

    i thinking it is time for tailwind to be replaced by unoCSS

  • @mainendra
    @mainendra ปีที่แล้ว +2

    Awesome 🙌. Please share github link 😬

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว +1

      @mainendra7785 Sorry about that! Here it is - github.com/awesome-club/solid-pocketbase-tailwind.git

  • @elliemeyer9164
    @elliemeyer9164 ปีที่แล้ว +1

    I think i've been looking for this kind of simplicity in stack (tool-set) choice: Simple yet robust frontend for UI, ready made backend + CSS lib, and that's it(!)
    Seemingly rarely some shiny dev on public platform talks or reasons beyond conventional stacks we have for a long while now (MEAN, MERN .. and all these names invariably propose Mongo), and hearing talk like this one feels to me like breath of fresh air. Nowadays world's increasingly demanding flexible yet FAST and less expensive solutions to business needs, so Thank you!
    My question is: how flexible potentially this stack thing is to build all kinds of apps, including say CRM like systems, POS terminal, E-commerce module etc (not talking about scale yet, though assuming it fits small to average entrepreneur)

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว

      Hey! I honestly believe that Solid and Tailwind are production ready, and can handle any kind of application ranging from small side projects to enterprise software.
      I can't guarantee for PocketBase yet, because it still is far from a stable v1 release. PB can act as a framework as well, and if you are familiar with Go you can extend its functionality fairly easily, which is a plus and gives you a lot of flexibility to handle more complex scenarios. I have my doubts about SQLite though. I would love to see PB support other vendors (such as PostgreSQL for instance) as well. If they figure that one out, I'm pretty sure PB can handle any type of load.

  • @Soulis98
    @Soulis98 ปีที่แล้ว +1

    The combination is legendary.

  • @danvilela
    @danvilela ปีที่แล้ว

    Nothing like some solid peanut butter smelling in the wind

  • @oussama40612
    @oussama40612 ปีที่แล้ว +1

    Not even a demo.......?

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว

      @oussama40612 Sorry about that! Here is the github repo - github.com/awesome-club/solid-pocketbase-tailwind

  • @JasonJA88
    @JasonJA88 ปีที่แล้ว +1

    HTMX + Tailwind😈👍🏼

  • @brennenherbruck8740
    @brennenherbruck8740 ปีที่แล้ว +5

    I love pocketbase... locally at least. Going to production is a pain in its current state as there is no simple way to migrate your schema

    • @MattHeslington
      @MattHeslington ปีที่แล้ว

      Ah, good to know

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว

      There are some tools allowing you to migrate SQLite, but, I agree, it's far from a mature solution.
      Let's keep in mind though that PocketBase is still in its early dev stages, so I expect this stuff will improve in the future.

    • @clementb.4889
      @clementb.4889 ปีที่แล้ว +1

      You can migrate (import/export) the schemas through JSON

  • @fallen_turbo
    @fallen_turbo ปีที่แล้ว

    I am very interested in learning vue, solid, qwik, and svelte too

  • @engageintellect
    @engageintellect ปีที่แล้ว

    Replace Solid with Sveltekit.

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว

      Thanks for the suggestion! I spent some time looking into Svelte and Kit, but I'm still a bigger Solid JS fan

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

    iti multumesc foarte mult pentru acest video!

  • @sorinuka
    @sorinuka ปีที่แล้ว

    Easy (read 'great') video :D Thanks!

  • @HeitorYT
    @HeitorYT ปีที่แล้ว

    Is there a way to build the solid start project and then run the pocketbase at the same time using only 1 script??

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว +1

      Sure! You could use a npm package such as concurrently (www.npmjs.com/package/concurrently) and then run the commands in parallel.

  • @CarloNyte
    @CarloNyte ปีที่แล้ว

    I fucking love this video!! Like holy shit! Thank you for making it. If you could do more with this same tech stack it'd be amazing. You could easily make a course on it and I'd happily pay

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว

      Haha! Glad to hear it!
      Will definitely work on more content like this. It is one of my favorite tech stacks these days.

  • @thebahrimedia
    @thebahrimedia ปีที่แล้ว

    Even though I agree with the overall spirit of the video (make it simple), I completely reject the idea that building an app on top of projects that are still in beta (pocket base, solid start) make life easier. Infact I'd argue it makes it hard and annoying.

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว +2

      I fully agree - PocketBase is not ready for production yet. It could be easily replaced by Supabase or Firebase for know. I'm experimenting with various new tech on the channel, and I think PocketBase deserves a shoutout because it really is so easy!

  • @ongkay250
    @ongkay250 ปีที่แล้ว +1

    Why not appwrite ?

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว +1

      I don’t have that much experience with AppWrite, but I know they are self hosted and pretty powerful.
      I went with Pocketbase because the theme of the video is simplicity. Of course, this simplicity comes at a price, and PB doesn’t have a reach feature set (yet - they are still in early development), but it’s more than enough for prototyping or building smaller apps.
      For more serious / complex projects, a more mature BaaS solution would be a better fit for certain!

  • @rollingarchives
    @rollingarchives ปีที่แล้ว

    How would you recommend hosting pocketbase?

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว +1

      Hey! They have some explanations about going to production here - pocketbase.io/docs/going-to-production/
      Probably using docker is the safest way.
      Please remember though that PocketBase is still in its early stages of development, and is not yet production ready.

  • @luizAugustoll
    @luizAugustoll ปีที่แล้ว

    I like mpa spa-like, but I don't want a fullstack framework. I always in doubt if using metaframeworks like Astro or SolidStart is overwhelming and I just have to using solid-router, or if made trough about the spa-like experience.

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว

      I'm actually sold on Astro. It saves me a lot of headaches. I honestly don't see me starting a new project without a meta framework these days - preferably one that does a lot of JS delivery optimisations for me.

    • @luizAugustoll
      @luizAugustoll ปีที่แล้ว

      @@awesome-coding I finally made hello world projects with the 2, for me astro is not what i'm looking for, it really is a mpa that support reactive frameworks, but not the spa xp. Solid Start solves a problem that I have with solidjs, smooth transitions between pages (remember me when i was using client-side router in ReactJS).

  • @mehdiyahiacherif2326
    @mehdiyahiacherif2326 ปีที่แล้ว

    yep my stack rn is sveltekit with skeletonUI(tailwind) and pocketbase/strapi or supabase as a backend , and rust/python for some advanced custom apis and that's it

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว +1

      Nice! Do you recommend Rust? I want to learn some new languages, and Rust is on the short list.

    • @mehdiyahiacherif2326
      @mehdiyahiacherif2326 ปีที่แล้ว

      after the new policy idk , but it is exactly what i was searching for , compiled static typed , fast as c , good syntax with functuonal programming paradigm with gr8 buildins and ecosystem , lsp , compiler , cargo ...

  • @datguy4104
    @datguy4104 ปีที่แล้ว

    Dumb question, but do you still need a server to handle routes and serving the JS app initially, or is that done with pocketbase as well?

    • @Solanaceously
      @Solanaceously ปีที่แล้ว +1

      That is handled with Start: the meta framework for Solid

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว +2

      @datguy4104 There are no dumb questions :)
      @Solanaceously is right. Server routing and rendering will happen in solid start, in the part running on a node js server to be more exact.
      Pocket is a golang server running on a separate process.

  • @tumpperi3891
    @tumpperi3891 ปีที่แล้ว

    Hi, what's the (assumably) plugin you are using, which hides the css in vscode? 6:22

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว +1

      Hello! Inline Fold - marketplace.visualstudio.com/items?itemName=moalamri.inline-fold

    • @tumpperi3891
      @tumpperi3891 ปีที่แล้ว

      @@awesome-coding Thank you, helps alot!

  • @romankoshchei
    @romankoshchei ปีที่แล้ว

    I you want make it more simplier use picocss

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว

      This is the second time this week PicoCSS is recommended to me 😅. Thank you for the suggestion, I'll give it a try!

  • @SleepeJobs
    @SleepeJobs ปีที่แล้ว

    Plz guide on setting up pocketbase auth

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว +1

      Will do for certain! I'm planning to work on a more detailed video regarding auth in web apps. In the meantime, you can find more about the basics of pocketbase auth here - th-cam.com/video/HlA3Pl8YkRg/w-d-xo.html

  • @timeforrice
    @timeforrice ปีที่แล้ว

    Do more about Auth pls

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว

      It's on the list! Thanks for sharing your thoughts!

  • @naranyala_dev
    @naranyala_dev ปีที่แล้ว

    starter repo examples will be good in the future

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว +1

      @naranyala_dev Thanks for reminding me :) Forgot to add it in the description.
      Github repo here - github.com/awesome-club/solid-pocketbase-tailwind.git

  • @wertin200
    @wertin200 ปีที่แล้ว

    Keep up the great work. I love your content.

  • @Jan-fq2yp
    @Jan-fq2yp ปีที่แล้ว

    Great vids! Keep it up

  • @hnazmul
    @hnazmul ปีที่แล้ว

    boaring solid.
    svelte is king.

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

    the amount of ads here is crazy couldn't even see the video

    • @awesome-coding
      @awesome-coding  3 หลายเดือนก่อน

      I'm sorry to hear that. The ads are just enabled - the frequency and length are completely decided by YT in this case.

  • @khaled-0
    @khaled-0 หลายเดือนก่อน

    go + postgres/mongo + flutter