[PR #155] [CLOSED] added validation for env variables and cleaned up .env.example template #759

Closed
opened 2026-02-26 18:48:48 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/155
Author: @doug-andrade
Created: 5/22/2023
Status: Closed

Base: mainHead: adding-validation-for-env-variables


📝 Commits (1)

  • 0ff2cdc added validation for environment variables and cleaned up .env.example template

📊 Changes

8 files changed (+147 additions, -26 deletions)

View changed files

📝 .env.example (+35 -10)
📝 apps/web/components/settings.tsx (+2 -1)
apps/web/env.mjs (+60 -0)
📝 apps/web/package.json (+4 -2)
📝 apps/web/pages/dashboard.tsx (+7 -6)
📝 apps/web/pages/login.tsx (+2 -1)
📝 apps/web/pages/signup.tsx (+2 -1)
📝 package-lock.json (+35 -5)

📄 Description

  • cleaned up the .env.example template to be more readable
  • added RESEND_API_KEY with a #coming-soon comment
  • added type safe env variables on the frontend (see https://env.t3.gg/)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/documenso/documenso/pull/155 **Author:** [@doug-andrade](https://github.com/doug-andrade) **Created:** 5/22/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `adding-validation-for-env-variables` --- ### 📝 Commits (1) - [`0ff2cdc`](https://github.com/documenso/documenso/commit/0ff2cdc70576628591710eb25f17cd615cb3a5f9) added validation for environment variables and cleaned up .env.example template ### 📊 Changes **8 files changed** (+147 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+35 -10) 📝 `apps/web/components/settings.tsx` (+2 -1) ➕ `apps/web/env.mjs` (+60 -0) 📝 `apps/web/package.json` (+4 -2) 📝 `apps/web/pages/dashboard.tsx` (+7 -6) 📝 `apps/web/pages/login.tsx` (+2 -1) 📝 `apps/web/pages/signup.tsx` (+2 -1) 📝 `package-lock.json` (+35 -5) </details> ### 📄 Description - cleaned up the .env.example template to be more readable - added RESEND_API_KEY with a #coming-soon comment - added type safe env variables on the frontend (see https://env.t3.gg/) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 18:48:48 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#759
No description provided.