Deploy Heroku
1. Deploy Back-end
// package.json
{
"name": "cc-cms",
"version": "1.0.0",
"description": "Cloud Computing SIMPRE - 2022",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/guritaalexandru/cc-cms.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/guritaalexandru/cc-cms/issues"
},
"homepage": "https://github.com/guritaalexandru/cc-cms#readme",
"dependencies": {
"@google-cloud/translate": "^6.3.1",
"@sendgrid/mail": "^7.6.2",
"body-parser": "^1.20.0",
"cors": "^2.8.5",
"dotenv": "^16.0.0",
"express": "^4.17.3",
"multer": "^1.4.4",
"mysql": "^2.18.1",
"nodemon": "^2.0.15"
},
// look here!
"engines": {
"node": "14.x"
}
}



2. Deploy Front-end

Last updated