Render is a cloud platform that turns a GitHub repo into a live website or API with almost no configuration. If Heroku's free tier disappearing left you looking for a simple place to deploy, Render is the closest thing to that old experience — and its free tier is genuinely usable for learning.
What you can deploy
Render covers the common cases: static sites, web services (Node, Python, Go, Ruby, and more), background workers, cron jobs, and managed PostgreSQL and Redis. A typical beginner project needs two things: a web service for the backend and a static site for the frontend.
Deploying a web service
Connect your GitHub account, pick a repo, and tell Render three things:
-
Build command: how to install and build your app, for example
npm install && npm run build. -
Start command: how to run it, for example
node server.js. - Environment: Node, Python, or Docker.
Render detects most of this automatically for common frameworks. Push to your main branch and Render rebuilds and redeploys on its own. Environment variables — API keys, database URLs — go in the dashboard, never in your code.
# A typical Node.js service on Render
# Build command:
npm install
# Start command:
node server.js
# Environment variable (set in the dashboard):
# DATABASE_URL=postgres://user:password@host:5432/dbname
Static sites and databases
Static sites are free and fast: point Render at a repo, set the publish directory (like dist for Vite or build for React), and you get a live URL with HTTPS. Managed PostgreSQL starts free for 90 days and then has a low paid tier — for learning, you can also run a database as a free web service, but you will manage backups yourself.
The free tier, honestly
The free tier is real, but it has limits you should know about. Free web services spin down after 15 minutes without traffic, so the first request after a pause takes 30 to 60 seconds to wake up. That is fine for a portfolio or a learning project, and annoying for anything real users depend on. Free PostgreSQL expires after 90 days, and free services share limited RAM.
Common mistakes
-
Forgetting the start command. A build that succeeds and a service that crashes usually means the start command is wrong or the app listens on the wrong port. Render gives you a
PORTenvironment variable — listen on that, not a hardcoded 3000. - Committing secrets. API keys in a public repo get found by bots within minutes. Use the dashboard's environment variables.
-
No health check. Add a simple
/healthroute that returns 200 so Render can tell your service is alive.
When to use Render
Use it when you want a backend live in an afternoon without learning containers, load balancers, or server setup. When your app outgrows it — heavy traffic, custom infrastructure, strict compliance — that is the time to learn the bigger platforms, not before.
Top comments (0)