/pocketbase-htmx

Demo on how to use Pocketbase as a framework (With TEMPL and HTMX)

Primary LanguageGoMIT LicenseMIT

Pocketbase x HTMX

This is a small demo on how to use pocketbase as a framework, with templ and htmx.

Prerequisites

  • templ installed
  • node/npx installed (only for dev)

Setup

If you have node installed you can start the dev server with make dev, else run make run

After setting up pocketbase import the pocketbase.json file and add a user in the user collection.

Then you can checkout the small demo up under http://localhost:8090/auth/login and login with your newly created user.