Python Stack: FastAPI, SQLAlchemy, Next.js, and more

People always ask: what's your stack? So here it is — every tool I used and why I chose it. For the backend, I went with FastAPI on Python 3.11. I've used Flask before, but FastAPI's async support and automatic API docs saved me hours of boilerplate. Pair that with SQLAlchemy 2.0's async ORM and I had a clean, typed backend in days not weeks. For the database, Neon — serverless PostgreSQL. The free tier is genuinely useful, it scales automatically, and the connection string just works. No managing servers. No backups to configure. For Redis, Upstash. Same idea — serverless, no infrastructure to babysit. It handles the task queue and response caching. Celery manages all the background work — scraping, classifying, generating AI solutions. It runs on a schedule, completely separate from the web server. On the frontend, Next.js 14 with TypeScript. The App Router took some getting used to, but server components made the initial page loads much faster. TanStack React Query handles all the data fetching with caching and background updates built in. The whole thing deploys automatically. Railway for the backend. Vercel for the frontend. Every push to GitHub triggers both. No DevOps headaches. No manual deployments. Just push and it works. #WebDevelopment #Python #NextJS #FastAPI #DevOps

  • graphical user interface, diagram

To view or add a comment, sign in

Explore content categories