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: 18 days 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 (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-20T09:28:45.000Z (7 months ago)
- Last Synced: 2024-10-23T07:54:52.512Z (26 days ago)
- Topics: golang, htmx, pocketbase
- Language: Go
- Homepage:
- Size: 34.2 KB
- Stars: 117
- Watchers: 2
- Forks: 10
- Open Issues: 0
-
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.