Load and merge configuration from:
- .env file
- .env.local file
Use APP_
prefix for environment variables. Validate merged object using Yup.
npm i # yarn
npm start # yarn start
- check the schema used and modify it
- make invalid changes in .env files (e.g. set
db.port
tofoo
or-1234
) - remove some required variable (e.g.
db.user
from .env)