I am facing an issue in this challenge. In glitch, the connection looks fine, but when I am trying to pass the challenge Iam getting 3 times “not found” on the console. Stuck on this. Need help
below is my code :
myApp.js :
var express = require(‘express’);
var app = express();
var bodyParser = require(‘body-parser’);
const mongoose = require(‘mongoose’);
mongoose.connect(process.env.MONGO_URI, { useNewUrlParser: true });
package.json:
{
“name”: “fcc-learn-node-with-express”,
“version”: “0.1.0”,
“dependencies”: {
“express”: “^4.16.4”,
“body-parser”: “^1.15.2”,
“cookie-parser”: “^1.4.3”,
“mongoose”: “^5.3.13”,
“mongodb”: “^3.1.10”,
“connect-mongo”: “^2.0.2”,
“fcc-express-bground”: “https://github.com/Em-Ant/fcc-express-bground-pkg.git”
},
“main”: “server.js”,
“scripts”: {
“start”: “node server.js”
},
“engines”: {
“node”: “11.1.0”
}
}
.env :
SECRET=
MADE_WITH=
MONGO_URI=mongodb://pratiks77:XXXXXXXXXX@ds237748.mlab.com:37748/pratikdb
challenge console log :
// running tests
Not Found
Not Found
Not Found
// tests completed