CommunityPro / CommunityPro/ecommerce-api
Validate `env` file
Open
- Dominant language
- TypeScript
- Stars
- 7
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
- Create a function that validates all environment variables when the app starts.
- The function should only allow the app to start if all environment variables are verified to be present and of the required type
- An error should be thrown instead of the app crashing if a variable isn't present.
Contributor guide
Assessment
This issue has not been assessed yet.