Commit Graph

3 Commits

Author SHA1 Message Date
zaidmukaddam
527e46453d Refactor Google Trends fetching to use a default country code and simplify environment variable validation 2025-01-06 19:46:33 +05:30
simplr-sh
74d4d8d5a0 updated envs list 2025-01-06 19:34:28 +05:30
simplr-sh
186bd3c2cc Refactor environment variable handling and improve API key management
- Introduced `client.ts` and `server.ts` for structured environment variable management using `@t3-oss/env-nextjs`.
- Updated references to environment variables in various files to use the new `clientEnv` and `serverEnv` objects.
- Enhanced the `next.config.mjs` file to validate environment variables during build.
- Added new dependencies: `@t3-oss/env-nextjs` and `jiti` for improved environment handling.
- Cleaned up imports and ensured consistent usage of environment variables across the application.
2025-01-06 10:28:54 +05:30