skip to Main Content

Docker port issue

I am developing an application which runs on docker containers. I have two node js applications where one is running on port number 5000 and another on 8888 in the docker. I would like to send http request to the…

VIEW QUESTION

findbyID is not returning individual item in db, 404 not found error , mongodb, mongoose

I have the following Cycle Schema const mongoose=require('mongoose') const Schema = mongoose.Schema; const cycleSchema= new Schema({ startDate:{type:Date,required:true}, endDate:{type:Date,required:true}, users:[ { firstName:String, lastName:String, goals:[{ mainGoal:String, progress:{ type:Number, default:0 }, subTasks: [{ task:String, done:Boolean }] }] } ] },{ timestamps:true }) const…

VIEW QUESTION
Back To Top
Search