Skip to content

fix(web): update env example#181

Open
almeidazs wants to merge 1 commit into
getpaykit:mainfrom
almeidazs:fix/env-example
Open

fix(web): update env example#181
almeidazs wants to merge 1 commit into
getpaykit:mainfrom
almeidazs:fix/env-example

Conversation

@almeidazs
Copy link
Copy Markdown

@almeidazs almeidazs commented May 18, 2026

Summary

  • update apps/web/.env.example with the env variable actually required to build and run the web app
  • document RESEND_FROM_EMAIL and RESEND_TO_EMAIL as optional overrides because the app provides defaults for both

Why

The existing example file did not reflect the real env contract used by apps/web, which made local setup unclear.

Validation

  • bun run build in apps/web fails without RESEND_API_KEY
  • env RESEND_API_KEY=dummy bun run build in apps/web passes

Summary by CodeRabbit

  • Chores
    • Added example environment variables for email service configuration, including API key and optional email address settings for initial project setup.

Review Change Stack

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 18, 2026

@almeidazs is attempting to deploy a commit to the maxktz Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 18, 2026

📝 Walkthrough

Walkthrough

The pull request adds environment variable placeholders for Resend email service integration to the example configuration file, including the API key and optional sender/recipient email addresses with inline comments describing default behavior.

Changes

Resend Configuration

Layer / File(s) Summary
Resend environment variables
apps/web/.env.example
RESEND_API_KEY placeholder and optional RESEND_FROM_EMAIL and RESEND_TO_EMAIL configuration variables with comments explaining their defaults are added to the example environment configuration.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 Configuration magic, simple and clean,
Email variables now fit the scene,
Resend awaits with placeholders so bright,
Environment setup made crystal and light!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'fix(web): update env example' directly and concisely describes the main change—updating the environment example file in the web app with RESEND API configuration variables.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@almeidazs almeidazs marked this pull request as ready for review May 18, 2026 12:14
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
apps/web/.env.example (1)

16-16: ⚡ Quick win

Consider removing quotes for the empty placeholder.

In .env files, the standard practice for empty placeholders is RESEND_API_KEY= without quotes. This avoids ambiguity and satisfies the dotenv-linter warning.

✨ Proposed fix
-RESEND_API_KEY=""
+RESEND_API_KEY=
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/web/.env.example` at line 16, The RESEND_API_KEY placeholder in
apps/web/.env.example uses quotes which can cause dotenv-linter warnings; update
the RESEND_API_KEY entry (the RESEND_API_KEY key) to use an unquoted empty value
(i.e., RESEND_API_KEY=) so the placeholder follows .env conventions and removes
the linter warning.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@apps/web/.env.example`:
- Line 16: The RESEND_API_KEY placeholder in apps/web/.env.example uses quotes
which can cause dotenv-linter warnings; update the RESEND_API_KEY entry (the
RESEND_API_KEY key) to use an unquoted empty value (i.e., RESEND_API_KEY=) so
the placeholder follows .env conventions and removes the linter warning.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: c6a691d3-2c3c-4786-b015-60889c007690

📥 Commits

Reviewing files that changed from the base of the PR and between 55a0bda and e75ffc3.

📒 Files selected for processing (1)
  • apps/web/.env.example

@Muhammad-Owais-Warsi
Copy link
Copy Markdown

closes #178

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.

2 participants