Making Coding Fun Again with PocketBase, ExpressJS, and HTMX

Поділитися
Вставка
  • Опубліковано 4 жов 2024
  • Join me in this video walkthrough of the code I used to create a unique tech stack that uses PocketBase.io's lightweight backend as a service platform along with HTMX.org with EJS.co templates, and finally a ExpressJS.com backend to connect everything together. And don't forget picocss.com for instant styling.
    In this video you'll learn
    The basics of web authentication using PassportJS, Express-Session, and PocketBase
    Some core concepts of HTMX
    Templating with EJS and EJS-Mate for layouts
    ---
    Source code:
    github.com/nax...
    ---
    Connect with me on LinkedIn: / iantskon
    Hang with me on Discord: / discord
    Need help with learning how to code, solving a tough bug, or preparing for interviews?
    Send me a message on LinkedIn or Discord and schedule a 75% off 1 hour tutoring session on Zoom.

КОМЕНТАРІ • 5

  • @leaxem
    @leaxem 3 місяці тому +2

    Great tutorial! Can't wait for the next one.

  • @khaledabdelal8015
    @khaledabdelal8015 2 місяці тому +1

    Why not remove the express server and just use the go backend you already have. You can extend pocketbase to have your own routing/templets

    • @DevSprout
      @DevSprout  Місяць тому

      I'll definitely look into that, thanks Khaled!

  • @axMf3qTI
    @axMf3qTI 20 днів тому +1

    Genuine question why did you choose to go for Expressjs? Pocketbase uses echo for it api and PB is extensible. Did you go with Express out of familiarity?

    • @DevSprout
      @DevSprout  20 днів тому +1

      Yeah definitely one part familiarity and also bc by default PB serves JSON and I needed a layer where I could introduce templates. If I can figure out how to extend PB to serve HTML then I'd totally remove the added complexity of express.