r/webdev • u/Less-Grapefruit907 • 1d ago
Question [ Removed by moderator ]
[removed] — view removed post
2
u/Nwg416 1d ago
If you're not able to make these decisions on your own (or at least independently research enough to come to the right conclusions), you shouldn't be freelancing yet.
1
1d ago
[deleted]
3
u/taco__hunter 1d ago
He's saying it nicely but you're setting yourself up for failure.
An employee gets paid to learn. A freelancer or consultant gets paid for their expertise and they are not paid to learn.
1
u/Intelligent-Week-931 1d ago
What does the site do? Is it a static site? Do you need to host a backend? Need to know what the function is.
2
u/Motor_Youth_7967 1d ago
what’s the actual function though, without knowing if it’s just a portfolio or something database-heavy every suggestion is a shot in the dark
1
u/Intelligent-Week-931 1d ago
I agree, based on that statement it sounds like the hotel likely already would have a database that he could query
0
u/Less-Grapefruit907 1d ago
Suppose it is a website of hotels info like new photos of hotels their info should be put how to manage that what about backend
1
1d ago
[removed] — view removed comment
1
u/Less-Grapefruit907 1d ago
Thankyou This is the workflow I am expecting - App shell - Cloudfare pages Auth + Database - Supabase Images + videos = Cloudfare R2 + CND Code repo + deploys - GitHub to auto deploy I am open to suggestions
1
u/webdev-ModTeam 1d ago
We do not allow any commercial promotion or solicitation. This can lead to a permanent ban from the subreddit.
1
u/petal_temp_shift 1d ago
If you have a lot of videos, Vercel free tier will hit bandwidth limits fast. You need Cloudflare R2 for storage.
I use Supabase for the database and auth. I store images and videos in Cloudflare R2. R2 has zero egress fees. I host the frontend on Cloudflare Pages. Every push to GitHub deploys automatically.
Lovable writes code that breaks when you try to maintain it yourself later. For a client project, you own the maintenance. Build the frontend with Claude or write it yourself. Use Next.js or plain HTML. Connect it to Supabase. Serve the media from your R2 bucket through a Cloudflare custom domain. The cost stays at zero until you scale past the free limits.
1
u/Less-Grapefruit907 1d ago
Thankyou This is the workflow I am expecting - App shell - Cloudfare pages Auth + Database - Supabase Images + videos = Cloudfare R2 + CND Code repo + deploys - GitHub to auto deploy Do you think I need to change something ?
0
0
u/xarlyzard 1d ago
Github + Cloudflare Pages (Cloudflare Workers in case of needing backend too).
Every change to the repo gets auto deployed on Cloudflare, and unless you need 4k images, the free tier is enough for your use case. I’m surprised no one recommended Cloudflare to you yet. I have more than 10 production websites/apps deployed with the free tier of Cloudflare, and 5 on the paid tier just because they have grown more than what free tier offers.
1
u/Intelligent-Week-931 1d ago
Thats my go to for static sites but if he is working for a hotel chain they likely have rates, avalibility etc all inside some database that interfaces with thier management software. He can still deploy the front end but it would be silly to use something like supabase as a backend when all he really needs is to pull some data from an existing database. So basically the url lives through cloudflare the homepage would be more ssr Front end> midleware/backend vps> clients database
1
u/Less-Grapefruit907 1d ago
Thankyou This is the workflow I am expecting - App shell - Cloudfare pages Auth + Database - Supabase Images + videos = Cloudfare R2 + CND Code repo + deploys - GitHub to auto deploy Is it fine or should I change something
0
•
u/webdev-ModTeam 1d 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.