feat(licenses): improve development setup and refactor email handling

- Updated development script in package.json to load environment variables from dotenv.
- Refactored email imports to use named exports for better clarity.
- Removed unused database expiration logic and adjusted license validation to rely on Stripe subscription status.
- Enhanced error logging in webhook processing and improved console output for server status.
- Updated SMTP configuration to use more descriptive environment variable names.
- Removed the expiresAt field from the database schema to streamline license management.
This commit is contained in:
Mauricio Siu
2025-03-23 12:15:25 -06:00
parent b7874f053f
commit 9e30525569
7 changed files with 83 additions and 87 deletions

View File

@@ -2,6 +2,7 @@
"name": "react-email-starter",
"version": "0.1.10",
"private": true,
"type": "module",
"scripts": {
"build": "email build",
"dev": "email dev",