Tell us what’s happening:
Describe your issue in detail here.
Your project link(s)
solution: boilerplate-express - Replit
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/22.214.171.124 Safari/537.36
Challenge: Basic Node and Express - Use the .env File
Link to the challenge:
Please Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!
I’m trying to pass the “Use the .env File” challenge, but I’m receiving that result every time “The response of the endpoint /json should change according to the environment variable MESSAGE_STYLE”
my work is here https://replit.com/@aridirn7/boilerplate-express?v=1
The issue is you are not following one important instruction:
Then, in the
/json GET route handler you created in the last challenge access