Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gobeli/pocketbase-htmx

Demo on how to use Pocketbase as a framework (With TEMPL and HTMX)
https://github.com/gobeli/pocketbase-htmx

golang htmx pocketbase

Last synced: 18 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# Pocketbase x HTMX

This is a small demo on how to use [pocketbase](https://pocketbase.io/) as a framework, with [templ](https://templ.guide/) and [htmx](https://htmx.org/).

## 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.