Life is easy with Solid JS, Tailwind and PocketBase

Поделиться
HTML-код
  • Опубликовано: 20 янв 2023
  • 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/awesome-club/solid...

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

  • @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.

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

    The combination is legendary.

  • @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!

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

    Keep up the great work. I love your content.

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

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

  • @Jan-fq2yp
    @Jan-fq2yp Год назад

    Great vids! Keep it up

  • @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.

  • @bobmichael8735
    @bobmichael8735 24 дня назад

    iti multumesc foarte mult pentru acest video!

  • @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.

  • @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.

  • @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.

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

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

  • @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!

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

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

  • @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.

  • @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 ...

  • @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.

  • @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).

  • @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.

  • @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

  • @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

  • @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. 😆

  • @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 - ruclips.net/video/HlA3Pl8YkRg/видео.html

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

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

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

    Nothing like some solid peanut butter smelling in the wind

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

    HTMX + Tailwind😈👍🏼

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

    Do more about Auth pls

    • @awesome-coding
      @awesome-coding  Год назад

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

  • @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!

  • @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

  • @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!

  • @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 - ruclips.net/video/9CuTxeioKF4/видео.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.

  • @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

  • @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

  • @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!

  • @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?

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

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

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

    boaring solid.
    svelte is king.