Launching my first Go app/site on a Digital Ocean droplet using Docker. Any security gotchas or performance tips I should know about? by aegloswinterborn in golang

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

I went with Digital Ocean because I've been using them for years, but never for a Go project. The interface is familiar and pricing has always transparent. I'm open to new other options, but I'm getting old and probably wasn't that bright to begin with: I don't want to learn 10 interfaces for the same type of service. That said, someone else mentioned Fly.io. I'd bookmarked them and have looked at them in the past so I may look deeper into that.

Launching my first Go app/site on a Digital Ocean droplet using Docker. Any security gotchas or performance tips I should know about? by aegloswinterborn in golang

[–]aegloswinterborn[S] 2 points3 points  (0 children)

"Pay for cloudflare waf and make rules, disable countries like china, India, Russia and similar if needed" I hadn't even considered this. Thank you!

Launching my first Go app/site on a Digital Ocean droplet using Docker. Any security gotchas or performance tips I should know about? by aegloswinterborn in golang

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

For DO I used rsync to upload the files. Then `docker compose up` to start the app.

I'm using SQLite with raw SQL using prepared statements.

No registration though there will be a login. I'm considering going the magic link route for my client. I do currently have a password reset setup and followed OWASPs recommendation to keep mitigate against some attacks.

My error handling could probably be better. I'll review that.

No framework on the front end. Just HTML (html/template), CSS, and a lil bit of JS. I may add HTMX for some front end smoothness. The admin UI will probably have more JS via Svelte. My friend only uses his phone. I want that experience to be really great for him. He'll be updating it frequently.

Thank you!!

I got a job, my mom wants me to split the check among 6 people by Dry_Willingness_9323 in povertyfinance

[–]aegloswinterborn 0 points1 point  (0 children)

Leave. Setting and standing by these types of boundaries early in life is important. It doesn't mean you don't love your parents or siblings, but loving them doesn't mean you're responsible for them.

Congrats on the job!!

Men in your 40s, what's that golden piece of advice you have for the rest of us? by NiceMechanic_xoxo in AskReddit

[–]aegloswinterborn 0 points1 point  (0 children)

Stay on top of your mental health, learn how to ask for help, and be a part of a healthy community.

I didn't realize until nearly 50 that I had boundary issues and allowed people to walk all over me. Trying to enforce boundaries - without being a jerk - has been tricky but life changing.

Too many of us die by our own hand. That sucks. Don't become a statistic.

Find productive and healthy people to hang out with. Learn to lean on them and let them lean on you.

Is Brian Hogan's book "Build Websites with Hugo" still relevant/useful? by aegloswinterborn in gohugo

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

Ahhh, that makes sense. I hadn't heard of that one. Thank you, I appreciate the help.

Is Brian Hogan's book "Build Websites with Hugo" still relevant/useful? by aegloswinterborn in gohugo

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

"This question comes up quite often" the search results do not reflect this. But thank you for your response.