Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month ago
JSON representation
Demo on how to use Pocketbase as a framework (With TEMPL and HTMX)
- Host: GitHub
- URL: https://github.com/gobeli/pocketbase-htmx
- Owner: gobeli
- License: mit
- Created: 2024-01-31T17:32:51.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-04-20T09:28:45.000Z (9 months ago)
- Last Synced: 2024-12-10T14:49:22.511Z (about 1 month ago)
- Topics: golang, htmx, pocketbase
- Language: Go
- Homepage:
- Size: 34.2 KB
- Stars: 125
- Watchers: 2
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-pocketbase - Homepage
- awesome-pocketbase - Homepage
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.