"I am not right all the time, tell me that Im wrong and I will do everything in my power to make it right." Your honesty, modesty, and integrity made me sub. Keep up the great work!
40 more days of daily content, then ~2 weeks off, then probably 3 videos a week permanently. Trying to learn as much as I can as fast as I can and make the best and most useful content I can!
@@bmdavis419 I'm 18 and I'm from colombia and also trying to learn a Lot, currently working as a programmer cuz family needs to eat. Hope you keep making content related to go since it's the language I've chosen to make my servers on side projects Blessings !
for my sideprojects, i would avoid using any 3rd parties for anything and do everything on my own from Auth, server maintenance, networking, security, databases and everything in between but when it comes to prod stuff, i run back to the 3rd parties not because i don't know/understand how to implement and maintain but because am scared of what might happen and i don't wanna know! 🤣🤣💀, recently i ran to AWS KMS in order to avoid having to manage and audit my keys that i use to encrypt Passport numbers, i guess less overhead! 💀💀, but i would say this, if i worked at a company and was surrounded by systems engineers, network engineers, database engineers and devops engineers, i would be running away from 3rd parties cause they can just flip a switch and your business is gone overnight!. btw good videos please keep em coming. 😊
Yea if you have specialists on hand then use them 1000%. For me I usually don't, I'm either alone or on a small team and I am the one building most of everything, so I reach for Auth0, Stripe, Railway, Vercel, etc.
I don't mind implementing my own authentication but it's a fact that using third party services like Auth0 is way easier, especially when you start dealing with authorization (roles & permissions).
Hi ben, looks like you've taken some feedback on board. I would be wary about using log.Fatal as it is essentially a print() followed by os.Exit(). It doesnt call any of your deferred functions meaning your database wont be closed properly!
100% agree, I think I said that it was just a temp thing in the video, if not then me from 24 hours ago is dumb lol. Will be fixed when I make v2 for sure
I know you are busy, so don't feel any way if you can't answer this directly - but I am planning on using Netlify to host the front end of my sales/advertising website, and with either Supabase/Firebase as a backend, as the sales/advertising site will just enable users to create a free account and/or make payment for the actual main service I will be offering... Having watched your videos, and so that I can fully own the actual main app infrastructure, I am now thinking of hosting the main service and its backend on a VM, that I can scale vertically as needed, and using Fiber/Pocketbase - as I found your videos on Pocket base and Fiber v useful indeed... The reason I am thinking of using Netlify at least for the sales/marketing site is so that users from the USA, Europe, the UK and Japan will all get good load times - and the main service, which will be quite a bit more complex, I can host on a VM with a provider like GCP/AWS and sync user account/payment confirmations from the Netlify sales site, to the main apps VM, via Netlify cloud functions - as customers of my main service will have downloaded a client app that installs on their computers (not phones) and which will need low-latency connectivity to the backend service/VM regardless of their location - so I was thinking that providers like GCP/AWS due to their core global infrastructure, would be a good choice... (I was previously considering using Firebase to provide low latency messaging between my service and the client app running on customers computers regardless of their location) I know this may be way too much of an opened ended question, but does this sound sane to you? As I said, don't worry if you can't give any thoughts directly, but maybe if you can touch upon any of the issues I'm raising, in future vids - that would be really useful! Cheers!
This sounds like a big CDN and region problem. Netlify sounds smart b/c from what I remember they have a really solid global CDN, but your backend is going to need to do the same. Where ever you host your backend (US-East, US-West, Europe, etc.) each request is gonna have to go there unless you setup some multisever thing to serve in multiple regions (truthfully I have never done this before, although it is now on my list of stuff to learn). One thing is I don't think you need to proxy through the netlify functions to communicate from client to VM. Firebase, Supabase, and Pocketbase all have solid client libraries so I would avoid the extra server trip unless you need to hide something serverside (an API key) Really the key here is the global nature of this app, in order to keep load time down everywhere you are gonna need servers everywhere, which I wish I could tell you exactly how, but I have never actually had to do that before, best of luck I'll be looking into this more
@@bmdavis419 Thank you, Ben - your content has been really helpful in making me think about which tech to use - I am thinking of having the Netlify app completely decoupled from the main app (which is related to financial trading so needs low latency) and just sync user payment complete/user access authorisation, between the two systems each time a user pays their monthly subscription... I was thinking that I could have the main app send and receive messages to/from Firebase which would remove the need for distributed servers, as the software client running on customers' computers can then just receive/send data from and to Firebase, and my backend main app can also just talk to Firebase... I am thinking that doing things this way could take advantage of Firebases global low latency network, and remove the need for customers to connect to my main app directly (and have distributed servers) - but I will still have full control of the main app and I will not have to actually develop using third-party services, as I will just be using Firebase as a 'global messaging repeater'... Hope that makes sense - I may well change things, but for now, I am going to look into this way of doing things... As always, love your content and I hope to see your channel grow, either way, I am sure you have a bright future ahead of you! Cheers 👍
Hey great video. JUst a little question. When I manage my own auth I can get the ID of the user to then link it on other table like todos or orders etc. How should I do it with 0Auth ?
"I am not right all the time, tell me that Im wrong and I will do everything in my power to make it right." Your honesty, modesty, and integrity made me sub. Keep up the great work!
Man, you're really making good content, and i'm glad i discovered your channel, keep it up young man, keep the hustle !
40 more days of daily content, then ~2 weeks off, then probably 3 videos a week permanently. Trying to learn as much as I can as fast as I can and make the best and most useful content I can!
@@bmdavis419 I'm 18 and I'm from colombia and also trying to learn a Lot, currently working as a programmer cuz family needs to eat.
Hope you keep making content related to go since it's the language I've chosen to make my servers on side projects
Blessings !
Bro you are goated with the sauce, and helped me and team set up Auth0 (and almost Zitadel) for our Go backend with Fiber! Thanks!
fr fr fr frf rfrf frfr
I'm "junior" that aspire to learn golang someday, I'm happy your content exist
You have an extremely bright future ahead of you my friend. Keep up the work.
Flawless intro, subscribed
for my sideprojects, i would avoid using any 3rd parties for anything and do everything on my own from Auth, server maintenance, networking, security, databases and everything in between but when it comes to prod stuff, i run back to the 3rd parties not because i don't know/understand how to implement and maintain but because am scared of what might happen and i don't wanna know! 🤣🤣💀, recently i ran to AWS KMS in order to avoid having to manage and audit my keys that i use to encrypt Passport numbers, i guess less overhead! 💀💀, but i would say this, if i worked at a company and was surrounded by systems engineers, network engineers, database engineers and devops engineers, i would be running away from 3rd parties cause they can just flip a switch and your business is gone overnight!. btw good videos please keep em coming. 😊
Yea if you have specialists on hand then use them 1000%. For me I usually don't, I'm either alone or on a small team and I am the one building most of everything, so I reach for Auth0, Stripe, Railway, Vercel, etc.
I don't mind implementing my own authentication but it's a fact that using third party services like Auth0 is way easier, especially when you start dealing with authorization (roles & permissions).
That’s a smart move. I implemented auth server myself but constantly worried that I could miss something
Really getting into Go because of your videos. I'd love to see your take on GraphQL API w/ Go! Thanks Ben
Yea I have wanted to this this for a while, there is 40ish videos between now and Feb 28. I'm sure this will be one of them lol
Hi ben, looks like you've taken some feedback on board. I would be wary about using log.Fatal as it is essentially a print() followed by os.Exit(). It doesnt call any of your deferred functions meaning your database wont be closed properly!
100% agree, I think I said that it was just a temp thing in the video, if not then me from 24 hours ago is dumb lol. Will be fixed when I make v2 for sure
Would love to have a video on "context" in golang...
I know you are busy, so don't feel any way if you can't answer this directly - but I am planning on using Netlify to host the front end of my sales/advertising website, and with either Supabase/Firebase as a backend, as the sales/advertising site will just enable users to create a free account and/or make payment for the actual main service I will be offering...
Having watched your videos, and so that I can fully own the actual main app infrastructure, I am now thinking of hosting the main service and its backend on a VM, that I can scale vertically as needed, and using Fiber/Pocketbase - as I found your videos on Pocket base and Fiber v useful indeed...
The reason I am thinking of using Netlify at least for the sales/marketing site is so that users from the USA, Europe, the UK and Japan will all get good load times - and the main service, which will be quite a bit more complex, I can host on a VM with a provider like GCP/AWS and sync user account/payment confirmations from the Netlify sales site, to the main apps VM, via Netlify cloud functions - as customers of my main service will have downloaded a client app that installs on their computers (not phones) and which will need low-latency connectivity to the backend service/VM regardless of their location - so I was thinking that providers like GCP/AWS due to their core global infrastructure, would be a good choice... (I was previously considering using Firebase to provide low latency messaging between my service and the client app running on customers computers regardless of their location)
I know this may be way too much of an opened ended question, but does this sound sane to you? As I said, don't worry if you can't give any thoughts directly, but maybe if you can touch upon any of the issues I'm raising, in future vids - that would be really useful!
Cheers!
This sounds like a big CDN and region problem. Netlify sounds smart b/c from what I remember they have a really solid global CDN, but your backend is going to need to do the same. Where ever you host your backend (US-East, US-West, Europe, etc.) each request is gonna have to go there unless you setup some multisever thing to serve in multiple regions (truthfully I have never done this before, although it is now on my list of stuff to learn).
One thing is I don't think you need to proxy through the netlify functions to communicate from client to VM. Firebase, Supabase, and Pocketbase all have solid client libraries so I would avoid the extra server trip unless you need to hide something serverside (an API key)
Really the key here is the global nature of this app, in order to keep load time down everywhere you are gonna need servers everywhere, which I wish I could tell you exactly how, but I have never actually had to do that before, best of luck I'll be looking into this more
@@bmdavis419 Thank you, Ben - your content has been really helpful in making me think about which tech to use - I am thinking of having the Netlify app completely decoupled from the main app (which is related to financial trading so needs low latency) and just sync user payment complete/user access authorisation, between the two systems each time a user pays their monthly subscription...
I was thinking that I could have the main app send and receive messages to/from Firebase which would remove the need for distributed servers, as the software client running on customers' computers can then just receive/send data from and to Firebase, and my backend main app can also just talk to Firebase...
I am thinking that doing things this way could take advantage of Firebases global low latency network, and remove the need for customers to connect to my main app directly (and have distributed servers) - but I will still have full control of the main app and I will not have to actually develop using third-party services, as I will just be using Firebase as a 'global messaging repeater'...
Hope that makes sense - I may well change things, but for now, I am going to look into this way of doing things...
As always, love your content and I hope to see your channel grow, either way, I am sure you have a bright future ahead of you! Cheers
👍
Hey great video.
JUst a little question.
When I manage my own auth I can get the ID of the user to then link it on other table like todos or orders etc. How should I do it with 0Auth ?
can you make a video talking about auth and user group and how you manage it in the client
how do you get that interface that has the url to the server and the response from inside vscode? Is this part of the GO tools?
ah nevermind, looks like it's called thunder client
Does Golang work with Next Js / sveltekit or is this not practical?
Yep it works very well, will have a video on it soon
So you don't like to store you own clients sensitive data but you love storing it in a stranger database? That's weird
Have you ever tried that with graphql? Please dive deep into graphql if you think it's an equally amazing technology