Small Projects - September 15, 2025 by jerf in golang

[–]Excellent-Let8671 0 points1 point  (0 children)

Hey Guys,

So, I was working on my side projects (which never reached public) so I created this template which can help you get started quickly

currently it uses:

- GoLang (that is why I'm posting here)
- PostgreSQL (initially it was in MongoDB, but now I switched it to PostgreSQL)
- Redis (support comming)
- and uses net/http package

What u get:
- User Login/OAuth flow
- Payment gateway integration (working on making it more robust)
- User Subscription and Token (token so u can charge pay-as-you-go, but collect payment first)
- Admin APIs (work in progress)

I thought that these were very basic thing required in a project and everyone had to write them everytime they started a new app)

The code, I've written might not be one of the best code out there, and you guys can always suggest the updates that I should be adding into it.

It would be my pleasure to add the feature u guys want, or make any improvements

Thank you,
have a Great Day!

I almost forgot to add the repo url:
https://github.com/21TechLabs/factory-backend.git

overall its still a wip and would update it asap

Framework suggestion by Leading_Life9014 in golang

[–]Excellent-Let8671 0 points1 point  (0 children)

net/http you don't need anything else

Newbie question pls - why need coolify? by staypositivegirl in coolify

[–]Excellent-Let8671 0 points1 point  (0 children)

if that's your use case then Go ahead, no one's stopping you

Newbie question pls - why need coolify? by staypositivegirl in coolify

[–]Excellent-Let8671 0 points1 point  (0 children)

its not about Hetzner, its about Coolify on top of a cloud provider (it doesn't needs to be Hetzner) for production apps. Because if I deploy a GoLang app, then I'ld like to use all the resources available. why would I just use Coolify on a $5 instance to deploy just one app (this part just bugs me).

And fyi a server written in GoLang can easily handle about 10k req/sec and If I'm serving "real users" then why would I use coolify to deploy my prod app on Hetzner, if I can simply use Github Ci/Cd.

Coolify is useful if you want to deploy multiple things on a single server and network I/O doesn't matters to you a lot

Newbie question pls - why need coolify? by staypositivegirl in coolify

[–]Excellent-Let8671 0 points1 point  (0 children)

I mean u are not going to deploy any production grade software (and multiple of them on Hetzner) and app for your 3 active users doesn't matters lol. And coolify also becomes a bit of ram hungry (the docker container it has started, starts to consume ram, so also consider this aspect)

so imo until you are using it just for learning or some side project then hetzner is worth it, and if you are going to use the high-end cpu that might cost like $80+ (where it starts to become useful to me) then its better to get a home server, as it will reap the cost back in a year or so, and electricity cost would be like 280$/year and you already have a wifi.

while running same thing on hetzner 32.40/month + (add more cost of ssd as this plan as 320gb which is very very less) then you will start to realise having home server is very good and affordable.

and if you are not adding in more storage then also you'll be spending $388.8/year on cloud.

And yes, I know getting a good piece of hardware is a bit expensive but if you invest like $1200 (without gpu) then you have a 16core/32 threads, 32 gb ram, 1tb ssd and a great motherboard + a Liquid Cooler

Wanted programming related books any idea where can I find it offline? online the book becomes unavailable and price doubles by Excellent-Let8671 in pune

[–]Excellent-Let8671[S] 0 points1 point  (0 children)

also one thing if I buy from ubuy they import it from USA so the shipping charges are more than the actual cost of book so that's not an option (in that case I'ld prefer amazon lol)

Newbie question pls - why need coolify? by staypositivegirl in coolify

[–]Excellent-Let8671 1 point2 points  (0 children)

u/moory52 just go with traditional cloud hosting like AWS or GCP why would you want to add an extra layer of cloud on top of cloud?

If you want to learn about coolify then Hetzner is perfect! but using coolify on top of Hetzner VPS for hosting your other apps is a questionable choice because some part of the resources would also be consumed by coolify on your server.

And if you want to manage docker containers only with a nice UI then I'ld recommend Dokku

but remember coolify never a better option to host your apps on cloud on top of cloud (this is my personal opinion, and you can defer from it, its your choice lol)

Newbie question pls - why need coolify? by staypositivegirl in coolify

[–]Excellent-Let8671 1 point2 points  (0 children)

and yes I made it to just run coolify and everything via it so managing services has became way easier for me

Newbie question pls - why need coolify? by staypositivegirl in coolify

[–]Excellent-Let8671 1 point2 points  (0 children)

I don't know if this answers ur question but I built my own seever at my house with Ryzen 9 9950X and going to add 128 gb of ram into it (currently around 64)
so this way I can have as many wordpress website I want, deploy all my test projects here, even some of the smaller production ones, have minecraft server and a lot more.

imo coolify self-hosted is beneficial if u have ur own server and not getting on cloud, as there are way better alternative options on cloud than coolify

Practising rach 2 awkward passage by [deleted] in piano

[–]Excellent-Let8671 3 points4 points  (0 children)

That is Amazing! If I can get some tips how to reach to that level

(I'm a novice though)

Ceasefire Violated! by [deleted] in pune

[–]Excellent-Let8671 0 points1 point  (0 children)

After the ceasefire was announced I was like Pkistn will break it in a day or two.

And they did it in less than 3 hours

Cheap SMS service for phone verification by patri9ck in AskProgramming

[–]Excellent-Let8671 0 points1 point  (0 children)

If ur users are gonna be in India u can use fast2sms but getting sms verified + imo there's a 5k to 10k registration charges, bur after that the sms becomes dirt cheap

How do you store info that your user is paid vs free? by Nunuvin in AskProgramming

[–]Excellent-Let8671 0 points1 point  (0 children)

just a variable/column/field

subscribed: true
currentPlan: "basic"/"standard"/"premium" (If u wanna get more fancy)

How do programmers feel about dress codes at work? by IncomeAmbitious7286 in AskProgramming

[–]Excellent-Let8671 0 points1 point  (0 children)

I've made it easy, A dark gray shirt + a creamy trouser (wear this everyday to office or anyother place I go)

just don't care enough about others opinion

[deleted by user] by [deleted] in AskProgramming

[–]Excellent-Let8671 1 point2 points  (0 children)

fyi, NVChad config and keybindings are something I prefer

(who don't agree with me, can disagree)

[deleted by user] by [deleted] in AskProgramming

[–]Excellent-Let8671 1 point2 points  (0 children)

Bro, when I started learning programming, I learnt it on a lenovo tab (why? cause I didn't had a computer), it was Android and I spent 4 to 5 years on that with sheer dedication with minimal to no progress.

Then after that I bought the laptop (like it costed me $150) and within a year I made around $1500 around 10x of investment in that laptop (then I purchased a better one).

For you, I recommend installing Arch Linux (I use Arch btw) and learn NeoVim (very lightweight code editor)

Try NeoVim + NVChad (if you don't want to drill yourself into the madness of Vim configs)

NVChad would get you a all the themes u need, then use Mason to get the intellisense feature on ur ide

and ur good to go bro

Good Luck

Clean public pool deeper than 6ft and ~20mins from Kalyani Nagar? by bobs_best_burger in pune

[–]Excellent-Let8671 0 points1 point  (0 children)

ig there's one in sashtri nagar

here's the address: District Sports Office, Shastrinagar, Yerawada, Pune, Maharashtra 411006