command
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jul 8, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 20
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Go + HTMX + OAuth2
A very simple example HTMX with OAuth2 with:
- Go HTML templating engine.
- HTMX solution for SSR.
- OAuth2 with Github Auth.
- (+CSRF protection measures for OAuth2 and all requests).
- SQLite3 with SQLBoiler and golang-migrate.
Motivation
For the hype.
Application Flow
- A home page:
- Show login button if not logged in.
- Else, show a welcome with routing.
- A protected counter page.
The login process follows the standard OAuth2 process, which is fully documented on GitHub.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.