all variables (such like connect to DB or port) we set to .env file (all variables describe in .env-example file) Using JOI library we check availability all variables every time when our app is starting, if we miss some variables, our app notify us about this, throwing the error in consol
Node JS server - server folder React admin panel - admin folder