re: Docker-compose an express and mongo App VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Hi Jamal, thank you for the nice and clear explanations. It would be great if you can add the package.json file to this post as well.
 

hey Enes K. Thanks for the nice comment.

make a file package.json in your project, copy/past bellow json object
and run npm install to get all the dependences.

{
    "name": "docker-demo",
    "version": "1.0.0",
    "description": "",
    "main": "index.js",
    "scripts":
        "start": "nodemon index.js"
    },
    "keywords": [],
    "author": "Jamal",
    "license": "ISC",
    "dependencies": {
        "express": "^4.16.4",
        "mongoose": "^5.4.19",
        "ejs":"^"
    },
    "devDependencies": {
        "nodemon": "^1.18.10",

    }
}

code of conduct - report abuse