CommunityPro / CommunityPro/ecommerce-api

Validate `env` file

Open
#14 7 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.