Skip to content

About

Service Card starter for render.com/tutorials/firstdeploy (TypeScript + Python)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

firstdeploy-starter

Tiny Service Card app for the tutorial Learn Blueprints by shipping a live app.

One page. One ping button. One env var from your Blueprint (SERVICE_TITLE). No database.

Tracks (same behavior)

Folder Stack Local start
typescript/ Express + TypeScript npm install && npm start
python/ FastAPI + Uvicorn pip install -r requirements.txt && uvicorn main:app --host 0.0.0.0 --port 3000

Open http://localhost:3000

What it does

  • GET / — Service Card UI
  • GET /api/info — JSON: title, runtime, ping count, time
  • POST /api/ping — increments an in-memory counter
  • GET /health — ok

SERVICE_TITLE defaults to Service Card. Set it in your Blueprint to prove env vars work on Render.

Messages / ping counts reset on restart (in-memory). That is expected.

Blueprint

This repo ships without render.yaml. You add it in the tutorial. Use rootDir: typescript or rootDir: python.

About

Service Card starter for render.com/tutorials/firstdeploy (TypeScript + Python)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages