Closed bastianwegge closed 1 year ago
Hey @bastianwegge Thanks for reaching out! Contributions are welcome! Community awareness of these tools is the goal of this project and I want to help people understand not just that they exist but how to use them effectively together.
Currently I'm working on a reddit-like app as a demonstration based on the outcome of the poll here: https://twitter.com/howardl3/status/1689794692773228545
With that, I'll be introducing the concept of isolated applications in a subdirectory to continue demonstrating the stack. I'm not sure if you were thinking in terms of contribution, but if you're considering that you want to show how to integrate payments or something else, I think these would be fantastic to add to the platform as these apps within it.
Hey @Howard3 and thanks for coming back so quickly. I'd love to contribute and I guess my co-workers will as well. I'm gonna convert our payment to go-chi about next week and send a PR.
Cheers! You can close the issue if you want.
Thanks, will do! Just a preview of what I have in mind:
https://github.com/Howard3/chia-goths/tree/dev-apps-init
You'll see here that everything is being put into internal/apps for segmentation of different potential mini apps that is being put into this codebase. It allows them to all benefit for the same initialization without being mixed together.
@Howard3 I see separation of concerns and I really like it. Everthing here is referring to your branch: https://github.com/Howard3/chia-goths/tree/dev-apps-init
index.html
inside of your assets
folders?database/sql
or higher like gorm
?Thanks! All good points let me discuss
Happy sunday!
index.html
:
I don't understand your term keeps embed filesystem happy
. I deleted both index.html
files and the server keeps starting just fine. Can you elaborate on your comment?
SQLite implementation: What other approaches would you like to see here? I could integrate Postgres / MySQL with something like bun or gorm or sqlc/sqlx but I'm not sure you actually want those in here :).
Happy Sunday as well!
It's safe to delete now but if you have any directory that you're attempting to embed with zero files in it, the code will panic.
SQL integrations I've been mostly focused on SQLite because I feel there's not sufficient attention paid to it when most apps only really need it. That said, if you have a specific integration you'd like to see, I'm all for that. If you're using Gorm for example it will easily swap backends to most sql providers.
Did you have anything specific in mind for your application?
A follow-up thought here:
Because I'm hosting the demo site on fly.io and with Turso, all database interactions should be compatible with SQLite for now.
Did you have anything specific in mind for your application?
We're using gorm in our project, that's the reason I asked. I created a small todo-app example here: https://github.com/Howard3/chia-goths/pull/2
Hey @Howard3 , we're working on something similar and we've made some progress along the lines of what you have done. I stumbled over go-chi a couple of days ago. We're using gofiber/supabase/htmx/hyperscript.
If you're interested in getting in contact, let me know.
We've made some progress on: Uploads/Payments integrated daisyUI and Webhooks.
In any case, good luck with this project!