Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creates the Web Dashboard #33

Open
davideimola opened this issue Apr 5, 2021 · 1 comment
Open

Creates the Web Dashboard #33

davideimola opened this issue Apr 5, 2021 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@davideimola
Copy link
Contributor

User Story

As a user I would like to have a web dashdbord for composing and sending emails.

Detailed Description

Creates the first iteration of the web dashboard of kannon. I must able to create and send email.

Anything else

We are thinking to use something like React or Vue, but we are opened for proposals.

@davideimola davideimola added help wanted Extra attention is needed enhancement New feature or request labels Apr 5, 2021
@gedw99
Copy link

gedw99 commented Nov 14, 2023

As a golang coder I use HTMX. It's clean easy and fast.

https://htmx.org has docs and examples running to get a feel for it. Its a single js include

https://www.reddit.com/r/htmx/ is a good place to see what others are doing with it.

https://github.com/paganotoni/todox is a nice golang example.

https://github.com/mikestefanello/pagoda/blob/main/pkg/htmx/htmx.go is a more complete example with Web Login system using PostreSQL. It's a good match for as basis with Cannon I feel.

CSS is easy using tailwind, and there are many examples if it being used this way.

Its reactive, so you can update any part of the page in response to anything happening on the backend.

There is no Node or other dependencies so CI and CD is easy.

It's golang templates, which we already use.
https://github.com/kannon-email/kannon/blob/main/pkg/api/adminapi/templates.go for example.

It's easy to wire up and reason about unlike react.

Its keeps the frontend and backend in sync, because when the backend changes the frontend can be done by the same golang dev.

It's very fast at runtime still.

@ludusrusso ludusrusso added this to the v1.0.0 milestone Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants