Just a notice you should update the package.json of api and client to newest versions to be able to run it without critical vulnerabilities
API's package.json:
{
"name": "api",
"version": "0.0.0",
"private": true,
"scripts": {
"start": "node ./bin/www"
},
"dependencies": {
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"debug": "~2.6.9",
"express": "^4.16.4",
"http-errors": "~1.6.2",
"morgan": "^1.10.0",
"pug": "^3.0.0"
}
}
Client's package.json:
{
"name": "my_react_app",
"version": "0.1.0",
"private": true,
"dependencies": {
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "^3.4.3"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
``
Just a notice you should update the package.json of
apiandclientto newest versions to be able to run it without critical vulnerabilitiesAPI's
package.json:{ "name": "api", "version": "0.0.0", "private": true, "scripts": { "start": "node ./bin/www" }, "dependencies": { "cookie-parser": "^1.4.5", "cors": "^2.8.5", "debug": "~2.6.9", "express": "^4.16.4", "http-errors": "~1.6.2", "morgan": "^1.10.0", "pug": "^3.0.0" } }Client's
package.json:{ "name": "my_react_app", "version": "0.1.0", "private": true, "dependencies": { "react": "^16.13.1", "react-dom": "^16.13.1", "react-scripts": "^3.4.3" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test --env=jsdom", "eject": "react-scripts eject" }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] } } ``