Basic Node and Express - Use the .env File

Tell us what’s happening:
Describe your issue in detail here.

Your project link(s)

solution: boilerplate-express-1 - Nix (beta) Repl - Replit

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:103.0) Gecko/20100101 Firefox/103.0

Challenge: Basic Node and Express - Use the .env File

Link to the challenge:

Hello! Welcome to the community :slight_smile:!

Hmm, did you create/add the variable to the Secrets tab on Repl.it? Besides that, you’re not exactly doing what’s been asked, see here:

transform the response object’s message to uppercase if the variable equals uppercase

Then, the instructions says:

The response object should either be {"message": "Hello json"} or {"message": "HELLO JSON"}, depending on the MESSAGE_STYLE value.

Try to fix that and see if it works :slight_smile:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.