Skip to content

Add backend invitation-link env configuration (FRONTEND_BASE_URL, INVITATION_TOKEN_SECRET)#47

Merged
mukund58 merged 1 commit into
masterfrom
copilot/add-invite-link-backend
Apr 26, 2026
Merged

Add backend invitation-link env configuration (FRONTEND_BASE_URL, INVITATION_TOKEN_SECRET)#47
mukund58 merged 1 commit into
masterfrom
copilot/add-invite-link-backend

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 26, 2026

Backend invitation-link configuration was incomplete: the service did not declare dedicated runtime settings for frontend link base URL and invitation token signing secret. This PR adds those config surfaces and documents expected production values (including https://taskflow.mukund.xyz for this deployment).

  • Runtime env wiring (backend compose)

    • Added FRONTEND_BASE_URL and INVITATION_TOKEN_SECRET to backend API service env in:
      • Backend/docker-compose.yml
      • Backend/docker-compose.azure.yml
    • Local compose defaults frontend base URL to http://localhost:3000; Azure compose requires explicit values.
  • Environment documentation

    • Updated README.md backend env sections to include:
      • FRONTEND_BASE_URL
      • INVITATION_TOKEN_SECRET
    • Clarified production guidance for this repo deployment domain (https://taskflow.mukund.xyz).

Example config shape introduced:

environment:
  FRONTEND_BASE_URL: ${FRONTEND_BASE_URL}
  INVITATION_TOKEN_SECRET: ${INVITATION_TOKEN_SECRET}

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
taskflow-dotnet Ready Ready Preview, Comment Apr 26, 2026 8:53am

Copy link
Copy Markdown
Owner

@mukund58 mukund58 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved

Copy link
Copy Markdown
Owner

@mukund58 mukund58 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@mukund58 mukund58 marked this pull request as ready for review April 26, 2026 08:54
Copilot AI review requested due to automatic review settings April 26, 2026 08:54
@mukund58 mukund58 merged commit 07e3b45 into master Apr 26, 2026
5 checks passed
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds explicit runtime configuration surfaces for backend invitation-link generation by wiring frontend base URL and invitation token signing secret through Docker Compose, and documenting them for local and Azure deployments.

Changes:

  • Documented FRONTEND_BASE_URL and INVITATION_TOKEN_SECRET in backend environment setup sections of README.md.
  • Wired FRONTEND_BASE_URL and INVITATION_TOKEN_SECRET into Backend/docker-compose.yml (with a local default for the frontend URL).
  • Wired the same environment variables into Backend/docker-compose.azure.yml for Azure App Service deployments.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
README.md Documents the new env vars and production guidance for the frontend base URL.
Backend/docker-compose.yml Adds the env vars to the API service (local default for FRONTEND_BASE_URL).
Backend/docker-compose.azure.yml Adds the env vars to the API service for Azure deployments.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
Comment on lines +213 to +216
- REDIS_CONNECTION_STRING
- FRONTEND_BASE_URL (local default: `http://localhost:3000`; set explicitly per environment—this deployment uses `https://taskflow.mukund.xyz` in production)
- INVITATION_TOKEN_SECRET
- SMTP_HOST
CONNECTION_STRING: Host=db;Port=5432;Database=${POSTGRES_DB};Username=${POSTGRES_USER};Password=${POSTGRES_PASSWORD}
REDIS_CONNECTION_STRING: cache:6379
FRONTEND_BASE_URL: ${FRONTEND_BASE_URL:-http://localhost:3000}
INVITATION_TOKEN_SECRET: ${INVITATION_TOKEN_SECRET}
CONNECTION_STRING: Host=db;Port=5432;Database=${POSTGRES_DB};Username=${POSTGRES_USER};Password=${POSTGRES_PASSWORD}
REDIS_CONNECTION_STRING: ${REDIS_CONNECTION_STRING}
FRONTEND_BASE_URL: ${FRONTEND_BASE_URL}
INVITATION_TOKEN_SECRET: ${INVITATION_TOKEN_SECRET}
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.

3 participants