# NormiRes – Render Blueprint
# Deploy: connect this repo in Render Dashboard and apply the blueprint.
# Set MONGODB_URI and JWT_SECRET in the service Environment tab.

services:
  - type: web
    runtime: node
    name: normires
    buildCommand: cd client && npm ci && npm run build && cd ../server && npm ci
    startCommand: cd server && node index.js
    envVars:
      - key: NODE_ENV
        value: production
      - key: MONGODB_URI
        sync: false
      - key: JWT_SECRET
        generateValue: true
