MEAN IO : Config validation error JWT_SECRET is required MEAN IO : Config validation error JWT_SECRET is required mongodb mongodb

MEAN IO : Config validation error JWT_SECRET is required


Add an .env file to the root folder with the following contents:

NODE_ENV=developmentSERVER_PORT=4040JWT_SECRET=0a6b944d-d2fb-46fc-a85e-0295c986cd9fMONGO_HOST=mongodb://localhost/meanMEAN_FRONTEND=angular

You may find an .env.example file in your root directory, which you can simply rename to .env. An example .env.example file can be found here.