1 Create the package.json
We need to install the node dependencies first. Create a new folder and add a package.json
file in which you paste the following code.
Then open your console and type npm install
. This will create a node_modules
folder with all the packages we need.
{
"name": "js-course",
"version": "1.0.0",
"description": "The Code at Uni JavaScript Course",
"main": "app.js",
"scripts": {},
"author": "Code At Uni",
"license": "ISC",
"dependencies": {
"body-parser": "^1.15.2",
"express": "^4.14.0",
"express-handlebars": "^3.0.0",
"mailgun-js": "^0.7.12"
},
"devDependencies": {
"livereload": "^0.5.0"
}
}