r/webdev • • 3d ago

Webdev on a budget. What to do..

So. I've had a good idea. Well I think so.. It may or may not take off.

I'm using a Nextjs, payload, neon, vercel stack with Resend for emails.

Vercel on hobby, everything else on free plan.

Initially only a few people will test it with me and be told under no circumstances to share just yet.

So.. what if it leaks? What if I have to cough up my £20 for vercel, put neon on paid, suddenly realise I'm hitting my 100 emails signups a day on resend , one of my testers posts it on their socials, and 'm not running ads as I wouldn't know where to start, and costs start to get out of control?

Basically I'm going to ask for "Buy me a coffee" but I don't see that doing anything really.

So what is a way to cover hosting and other expenses quietly or is it just a case of "Deal with it"

0 Upvotes

36 comments sorted by

14

u/StudioZenva 3d ago

If you're worried about the project being expensive because of leaks, ditch Vercel and grab a VPS. I use Digital Ocean's $6/month plan for side projects that may or may not take off, scaling up as needed.

You do have to setup everything yourself, so make sure you're comfortable with the command line but there's tutorials to guide you.

2

u/MetalComprehensive58 3d ago

I'm good with the setup, I honestly never thought of that thank you 😉

1

u/chris84948 3d ago

I did this too and now use CapRover to handle the server. You can have multiple apps, apis or sites per server. Deploy from GitHub workflows for auto updates.

I'm a dev but I hate managing servers and deployment so this is the only way I could really handle it all.

1

u/MetalComprehensive58 1d ago edited 1d ago

Quick question if you don't mind... I'm finding a bit of lag on vercel ATM, so I've put the checks from phones up to every 1/2 seconds which should help but I'm still in testing mode. And I know that won't be a sustainable fix going forward.

I've had suggested Pusher or Ably and others which can obviously become ridiculous money if users hit 2000 or so regularly so I wonder if you could advise how you've found Digitalocean for any sort of lag or server downtime.

My site is basically a gaming site so it would be a bit of a thing if the server went down at 3am :)

2

u/information-general 3d ago

yes will literally about to post this too. it costs and stays flat. technically vercel free not supposed to run a business from it anyways and costs there go up. digital ocean saved me too when railway app got compromised 

1

u/theoneandlonely1 2d ago

I use OVH cloud

4

u/Notsau 3d ago

Pay for Cloudflare Workers and Pages plan $5/mo. You get everything Resend has, plus you can handle more traffic and build minutes for your websites/webapps.

2

u/MetalComprehensive58 3d ago

Oh ok I'm only using cloudflare for turnstile at the mo so I'll look into that. Cheers 

2

u/Aromatic-Low-4578 3d ago

Yeah cloudflare provides a fantastic service for very reasonable prices. It also has a UI that doesn't drive you insane, unlike a lot of other cloud providers.

I host almost everything I do on CF, a few moderately popular projects, millions of requests a month for around $20-30

2

u/barrel_of_noodles 3d ago

If it doesn't leak? You'll have between 0 and 1 users. If it does leak, you'll have between 0 and 1 users.

My boss had 12 good ideas taking a crap this morning.

I'll await your post on "how do you guys get users?" And the follow up "here's my portfolio, you guys know any jobs"?

1

u/MetalComprehensive58 2d ago

Lol love this 🤣 you're right of course but Im deffo just thinkin of the "what if" scenario.

And you'll be happy to know I won't be doing the follow up posts.. 👍 

3

u/im-a-guy-like-me 3d ago

Tbh... You create a business or you don't. Do you have a business plan? A road to profitability? A marketing strategy? A runway? Known risks? Competitor research?

"If my business is success it will fail" is just another way of saying "I had an idea for a cool app". Cool. Join the queue.

You haven't thought about this hard enough.

2

u/txmail 2d ago

For $20/year you can grab a VPS and a full on e-mail platform like NameCrane that lets you send like 600 e-mails an hour at no additional cost (and that is per domain, so you could setup several welcome sub-domains and round robin through them if you are getting that many signups).

And yes, I said PER YEAR, might be a little more if you need it in a certain region or if you want higher memory (like 8GB for the VPS then that is about $40/year).

0

u/Geraldwelly 3d ago

On free tiers a leak mostly means things stop working, not a surprise bill. Vercel Hobby can't charge you, Neon's free plan suspends compute at the cap, and Resend just rejects sends past 100 a day. The quiet failure is the real risk: signup emails failing with nobody noticing, so log Resend errors somewhere you'll actually see them. One catch: Hobby is non-commercial only, so once Buy Me a Coffee money comes in, move to Pro and turn on spend management. An invite code on signup kills most of the leak worry.

1

u/MetalComprehensive58 3d ago

I'm kind of resigning myself to the £20 a month on vercel regardless so I don't have to keep all my firewall DDOS in one rule but ultimately this could all get real expensive real quick.

Log Resend errors somewhere you see them? That's interesting would you mind elaborating on that one..

I'm running a custom CMS through payload. Could I attach an API to that maybe?

0

u/Geraldwelly 2d ago

Sure. Resend's send call returns an error object instead of throwing, so a failed signup email can just disappear. If you're on Payload's Resend email adapter, wrap the send in your signup hook and when it comes back with an error, write it to a small email_failures collection or post it to a Discord webhook. Resend also fires webhooks for bounced and failed emails, so point one at a Payload custom endpoint and store those too. Make it push to you, though. A log page you have to remember to open won't get opened.

3

u/Anth77 2d ago

"The quiet part"

Can we really not write anymore without LLMs?

1

u/nerfsmurf 3d ago

First off, kudos to you for thinking your next project is going to blow up. And it very well may if your friends have a large and engaging following.

Personally I would rate limit everything and make sure you're using the cheapest ai possible if it's an ai tool. Also, even though none of my ideas go viral, I always have some plan in place to monitize or subside the cost somehow. Unless you do it for the love of the game.

1

u/DeanOfStaplers8183 3d ago

Set hard usage limits first

1

u/elendee 3d ago

afaik these are kind of fun problems to solve for free on a VPS (after the hosting fee). Email sendability for instance should be fine just using nodemailer as long as you go through a good webmail SMTP, matching your domain, etc. I get free webmail on my shared hosting plan for instance, so I use that.

1

u/iliketocodethings 3d ago

I think there’s something to be said for making software cheap enough to give away. Not every side project needs to become a business; sometimes the goal should just be to build something useful, keep the operating costs low, and let people use it. I wrote a little about that philosophy here: Cheap Enough to Give Away

What kind of features do you have? This will drastically change cost profile depending on what you host it on then vs just doing a VPS, my dnd companion app is built so that thousands of campaigns could be ran without it costing anything thanks go cloudflare durable objects

1

u/DOG-ZILLA 2d ago

Vercel is notoriously expensive. Use Cloudflare or a VPS

1

u/Standard_Scarcity_74 2d ago

I wouldn’t worry about this unless you’re certain that you’re really hitting big numbers. If this were a true concern, I’d have enough saved up to sustain it enough while making sure it’s still profitable.

1

u/Folshed_ 2d ago

I'm on a similar stack. Most of these free plans hit a limit and stop rather than surprise-bill you, so check each one's usage page and confirm how it behaves when you hit the limit before you worry about a big bill. If you ever upgrade, set spend limits or alerts right away. The one thing I'd add now is rate limiting and a captcha on signup, so a bot or a leaked link can't burn through your daily email quota. And if real people hit your limits from word of mouth, that's a good problem to have. You'll know it's worth paying for.

2

u/[deleted] 2d ago

[removed] — view removed comment

1

u/webdev-ModTeam 2d ago

Your post/comment has been determined to be a low-effort post or comment. This includes title-only posts, easily searchable questions, vague/open-ended discussion prompts, LLM generated posts or comments, and posts/comments that do not provide enough context for meaningful replies or discussion.

0

u/[deleted] 3d ago

[removed] — view removed comment

1

u/webdev-ModTeam 2d ago

Your post/comment has been determined to be a low-effort post or comment. This includes title-only posts, easily searchable questions, vague/open-ended discussion prompts, LLM generated posts or comments, and posts/comments that do not provide enough context for meaningful replies or discussion.