Skip to content

feat: add Render and Vercel deployment configuration - #20

Merged
pitercoding merged 1 commit into
mainfrom
feat/deploy-config
Nov 28, 2026
Merged

pitercoding merged 1 commit into
mainfrom
feat/deploy-config

Conversation

@pitercoding

Copy link
Copy Markdown
Owner

Summary

  • Adds the configuration to deploy the backend on Render and the frontend on Vercel.

Motivation

  • The project needs a public demo. Render runs the Docker image, Vercel serves the Angular app, Neon provides PostgreSQL.

Implementation

  • render.yaml: Docker web service in Frankfurt, free plan, health check, database and CORS settings asked in the dashboard.
  • frontend/vercel.json: build command, output directory, SPA rewrite and basic security headers.
  • Production profile: small connection pool and a longer connection timeout for the free PostgreSQL.
  • Dockerfile: JVM options tuned for a 512 MB container.

Testing

  • Validated both files against their official JSON schemas.
  • Ran the image with a 512 MB limit, the prod profile and PORT=10000: health check, Swagger and CORS work; memory stays around 230 MB.

@pitercoding
pitercoding merged commit b1d384f into main Nov 28, 2026
3 checks passed
@pitercoding
pitercoding deleted the feat/deploy-config branch November 28, 2026 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant