Information Security with HelmetJS - Install and Require Helmet

Tell us what’s happening:

// running tests

  1. helmet version 3.21.3 should be in package.json
    // tests completed
    // console output
    [Error]

###Your project link(s)

solution: https://threshcode-infosec.onrender.com

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36

Challenge Information:

Information Security with HelmetJS - Install and Require Helmet

I see you have a git hub repository but there is nothing in myApp.js according to the instructions.

const express = require('express');
const app = express();
const userRoutes = require('./routes/userRoutes'); // ✅ Correct import

app.use('/users', userRoutes); // ✅ Correct usage

app.listen(3000, () => console.log('Server running on port 3000'));


This is were the code should be to pass this first challange.

The code in this repo should pass (when I checked it).

https://github.com/Threshcode/infosec-free-code-camp-app

If it doesn’t work on render, do it locally instead. You just submit http://localhost:3000 with the server running.