initial server side setup
This commit is contained in:
40
package.json
Normal file
40
package.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"name": "psychology",
|
||||
"version": "1.0.0",
|
||||
"description": "Integrate and customize CRM and ERP used by SimaSpace",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"install-server": "npm install",
|
||||
"install-client": "cd client && yarn install",
|
||||
"docker-build": "docker build -t psychology .",
|
||||
"docker-start": "docker run -e POSTGRES_USER=docker -e POSTGRES_PASSWORD=docker -e POSTGRES_DB=psychology --name pg_psychology -d -p 5432:5432 psychology",
|
||||
"docker-stop": "docker stop pg_psychology",
|
||||
"setup": "npm run install-server && npm run install-client && npm run docker-build && npm run docker-start && npm run migrate",
|
||||
"migrate": "npx sequelize db:migrate",
|
||||
"start-server": "nodemon server.js",
|
||||
"start-client": "cd client && yarn start"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+ssh://git@gitlab.com/saburly/psihologija.git"
|
||||
},
|
||||
"author": "Saburly",
|
||||
"license": "ISC",
|
||||
"engines": {
|
||||
"node": "11.12.x"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://gitlab.com/saburly/psihologija/issues"
|
||||
},
|
||||
"homepage": "https://gitlab.com/saburly/psihologija#README",
|
||||
"dependencies": {
|
||||
"express": "^4.17.0",
|
||||
"pg": "^7.11.0",
|
||||
"sequelize": "^5.8.6",
|
||||
"sequelize-cli": "^5.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"nodemon": "^1.19.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user