Add cloud deployment support: Vercel (frontend) + Render (backend)#1
Draft
Add cloud deployment support: Vercel (frontend) + Render (backend)#1
Conversation
…ity hardening Co-authored-by: florian2412 <10706578+florian2412@users.noreply.github.com>
…app.spec.ts test) Co-authored-by: florian2412 <10706578+florian2412@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Migrate project to Angular 21 and improve security
Migrate POM: AngularJS 1.5 → Angular 21, Express 4 → Express 5, JWT auth, security hardening
Mar 14, 2026
…(Docker) Co-authored-by: florian2412 <10706578+florian2412@users.noreply.github.com>
Copilot
AI
changed the title
Migrate POM: AngularJS 1.5 → Angular 21, Express 4 → Express 5, JWT auth, security hardening
Specs, full feature parity, and production deployment for POM Angular 21 migration
Mar 14, 2026
Co-authored-by: florian2412 <10706578+florian2412@users.noreply.github.com>
Copilot
AI
changed the title
Specs, full feature parity, and production deployment for POM Angular 21 migration
Migrate server-v2 to TypeScript, drop entire v1 codebase
Mar 14, 2026
Co-authored-by: florian2412 <10706578+florian2412@users.noreply.github.com>
Copilot
AI
changed the title
Migrate server-v2 to TypeScript, drop entire v1 codebase
Convert server-v2 to TypeScript, remove v1 codebase, add Vercel deployment for Angular frontend
Mar 14, 2026
Co-authored-by: florian2412 <10706578+florian2412@users.noreply.github.com>
Copilot
AI
changed the title
Convert server-v2 to TypeScript, remove v1 codebase, add Vercel deployment for Angular frontend
Add cloud deployment support: Vercel (frontend) + Render (backend)
Mar 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Angular frontend and Express/TypeScript backend lacked any cloud deployment configuration. This PR wires up one-click deployments for both, without requiring a separate repository for the backend.
Frontend → Vercel (
client-ng/)vercel.json— build command, output dir (dist/client-ng/browser), SPA rewrites, long-lived cache headers for hashed assetsscripts/set-env.mjs— generatesenvironment.prod.tsfromAPI_URLenv var beforeng build; falls back to/apifor Docker/Nginx modepackage.json— newbuild:prodscript:node scripts/set-env.mjs && ng build --configuration=productionBackend → Render (
render.yamlat repo root)Render supports monorepos via
rootDir— no separate repo needed.render.yaml— Render Blueprint definingrootDir: server-v2, build/start commands,/api/versionhealth check,JWT_SECRETauto-generated,MONGODB_URIandCORS_ORIGINSas dashboard-only secrets (sync: false)Documentation
docs/deployment-render.md— MongoDB Atlas setup, Blueprint vs manual dashboard deployment, Vercel↔Render wiring, free tier caveatsdocs/deployment-vercel.md— updated Step 1 to reference the Render guideREADME.md— added quick-reference tables for both platforms with links to full guides💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.