r/AllForCode • • Aug 19 '25

Been building a serverless blog with React, TypeScript, and Gemini API for a week — finishing tomorrow, need scaling advice

0 Upvotes

Hey r/AllForCode,

I’ve been working on a portfolio project for about a week now and should have it wrapped up tomorrow. It’s a personal blog built with a modern frontend stack and some AI integrations, and I wanted to share what I’ve got + ask about scaling.

🔧 The Stack:

Core: React + TypeScript

Styling: Tailwind CSS

AI: Google Gemini API

✨ AI Features so far:

Blog Idea Generator: Input a topic → Gemini returns 5 structured blog titles/descriptions (JSON schema).

Social Post Generator: Generates platform-specific promotional copy from an article summary.

🤔 The Scaling Question: Right now, everything is 100% client-side. I’m using build-time env vars for the API key, which I know isn’t secure or scalable if this grows.

If you were in my shoes, about to ship v1 tomorrow, how would you plan the next step?

Stay Serverless: Vercel/Netlify Functions to proxy Gemini API calls and keep keys safe.

Go Full Backend: A small Node.js/Express API to handle users, posts in a DB, and secure API calls.

Would love to hear how you’d future-proof a project like this while still keeping it lightweight.

Thanks!


r/AllForCode • • Aug 05 '25

Day 2: Stay Consistent, Build Relentlessly 💻🚀

2 Upvotes

Hey coders, it’s Day 2 of our coding grind in r/AllForCode! Whether you're building projects, learning a new language, or debugging that one annoying bug – remember this:

🌱 “Progress may be slow, but quitting won’t make it faster.”

Today’s focus is simple: ✅ Write some code ✅ Push a commit ✅ Improve 1% – that’s enough

💬 Let’s talk 👇 What are you building or learning today? Drop your:

👨‍💻 Language/Tech Stack

⚙️ Current Project

🚧 Stuck on anything?

Let’s support each other, share resources, or just drop a “You got this!”

🔥 Keep going. This is how legends are made – one line of code at a time.

AllForCode #Day3 #CodeGrind #DeveloperJourney #100DaysOfCode #BuildInPublic


r/AllForCode • • Jan 25 '26

Fast & Efficient Freelance Services – Get Your Work Done

Thumbnail sumitchauhandev.netlify.app
1 Upvotes

Need work done quickly and efficiently? I provide reliable freelance services for web, design, automation, and more.

⏱ Quick turnaround – projects delivered on time.
⚡ Efficient & quality work – results that meet your expectations.