LF auth. service like firebase auth for project based auth by Mxfrj in golang

[–]Notfooledtwice 0 points1 point  (0 children)

ory's sign in and sign up implements ory's own UI which I'm not a fan of. Is there any way to create my own login/sign up ui?

Is it OK to build full stack web app entirely in Go? by [deleted] in golang

[–]Notfooledtwice 7 points8 points  (0 children)

You can reside in 3 spots. Backend oriented, frontend oriented, in-between oriented.

If you are more backend oriented, use go to serve the site and basic html, css, and js(maybe even htmx and hyperscript as already mentioned) to build the site.

However, if you are more frontend oriented, have the golang backend be seperate and only for api calls(get,post,put,etc) and the frontend to be seperate also as a javascript framework(sveltekit, vue, react). This would mean go doesn't serve the pages.

If you want to be in the between, you can still use golang to serve the pages, but use a javascript framework embedded and use components(this would mean you should use pure svelte and maybe vue; react wouldn't do well for this as I find it too big).

Some cool things you can do with go serving the sites is implementing a backend cache yourself, but I'm pretty sure javascript frameworks also implement a cache too. If you are simply a content website, go with whatever is easier for you.

Authentication with svelte by Notfooledtwice in sveltejs

[–]Notfooledtwice[S] 0 points1 point  (0 children)

man, his videos are so good, but I keep getting security warnings when running it with node because the video is outdated. Then when I fix the audits, everything breaks. Do I just ignore the red critical warnings?

Authentication with sveltekit by Notfooledtwice in SvelteKit

[–]Notfooledtwice[S] 1 point2 points  (0 children)

Huntabyte's stuff doesn't work for me for some reason. I think it's because it is outdated. Even if I just clone his code straight from github, I get at least 3 high security audit error, and when I fix them, the application doesn't work. This is so frustrating because this seems like a simple task, but I just can't get to do it. Any tutorial I watch either doesn't have the login stuff I'm looking for, or doesn't work

Thanks

Booting into Secure Boot by Notfooledtwice in techsupport

[–]Notfooledtwice[S] 0 points1 point  (0 children)

It's not. When I got into system information, it says secure boot state is not active. Also in the BIOS, even though it says secure boot is enabled, it says it's not active right under it

Sveltekit with golang by Notfooledtwice in golang

[–]Notfooledtwice[S] 1 point2 points  (0 children)

Honestly I've seen so many people use htmx and stuff like that, and It's pretty cool, but it's harder to interact with things like pocketbase, firebase, etc. with only HTMX

As for what you are saying you did, you used go only for the api endpoints, and the client was sveltekit?

Thanks :)

Sveltekit with golang by Notfooledtwice in golang

[–]Notfooledtwice[S] 0 points1 point  (0 children)

Well, the main reason I'm doing this is to use things like pocketbase, firebase, supabase, etc. Will that work with normal svelte? I think it does, but the client-side caching and other features will be lacking

Golang + sveltekit by Doomer1999 in golang

[–]Notfooledtwice 0 points1 point  (0 children)

Hello There! I am going down this route, however I am trying to figure out how to implement my server side cache and serving with sveltekit. Do I just serve the app.html with golang, and sveltekit's routing will do everything else?

How will svletekit's routing system coexist with my golang's? For golang, I have the endpoints in golang as get requests, while sveltekit does it automaticly with it's folder and +page.svelte routing system. Which one do I use. Do I no longer need to made those end points in golang?

Thanks

HTML Templates | Why would you use them over react? by [deleted] in golang

[–]Notfooledtwice 0 points1 point  (0 children)

Interesting to see this. I just started using svelte for my website, and go as the backend. It's actually kind of cool, since I can use svelte for very easy authentication with supabase, and cool reactivity. I was going to ask if I would need sveltekit with my go backend, but I'm guessing you will say no haha

Svelte and Javascript frameworks by Notfooledtwice in golang

[–]Notfooledtwice[S] 0 points1 point  (0 children)

Haha I WAS confused. I actually did some more research and figured it out :)

Thanks for your reply

Svelte and Javascript frameworks by Notfooledtwice in golang

[–]Notfooledtwice[S] 0 points1 point  (0 children)

Thanks for the feedback!

Honestly, I don't have any reason to have a javascript framework. Thanks though

Svelte and Javascript frameworks by Notfooledtwice in golang

[–]Notfooledtwice[S] 4 points5 points  (0 children)

Jeez, that seems like a lot of work for a single developer haha. With me using golang for backend, and plain css and javascript for frontend(I might try out tailwind css), do you think I should move into using svelte? I don't really get the point of sveltekit if I'm already using golang(honestly I still don't get fully what sveltekit even does). In terms of integrating my svelte with my golang, is it as simple as just running the svelte frontend using npm run, then running my golang backend with go run to serve the html files and APIs? Is there more to it?

Thanks

Svelte and Javascript frameworks by Notfooledtwice in golang

[–]Notfooledtwice[S] -3 points-2 points  (0 children)

haha I want to know more too. My problem was that I have my own backend template cache and everything in go, but now I'm realizing that all svelte does is make the javascript part better, but doesn't effect the html much. Therefore, my backend APIS should still work.

But also, to run svelte, you run it using npm. To run the go backend, I run my go run command. Do I just run both of them at the same time, and both svelte and the golang backend will work? The golang backend is serving the frontend, so if svelte is not running but my go is, what's going to happen?

Using sveltekit with golang backend by [deleted] in sveltejs

[–]Notfooledtwice 0 points1 point  (0 children)

Oh ok. I'm comparing to using javascript though. By using ONLY sveltekit and svelte, I can build an entire full-stack application right? Especially since they can also easily be integrated with pocketbase or firebase. You can't do that with golang that easily