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.
Great tutorial! Can't wait for the next one.
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
I'll definitely look into that, thanks Khaled!
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?
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.