Refactor to add controller
parent
c89dd52a
No related branches found
No related tags found
This commit is part of merge request !5. Comments created here will be created in the context of that merge request.
{ | { | ||
"name": "xx_project_name_xx-api", | "name": "xx_project_name_xx-api", | ||
"version": "1.0.0", | "private": true, | ||
"version": "0.0.0", | |||
"main": "app.js", | "main": "app.js", | ||
"scripts": { | "scripts": { | ||
"start": "node src/app.js", | "start": "node src/app.js", | ||
"dev": "node src/app.js", | "dev": "node src/app.js", | ||
"lint": "eslint .", | "lint": "eslint .", | ||
"lint:fix": "eslint . --fix", | "lint:fix": "eslint . --fix", | ||
"test": "echo \"Error: no test specified\" && exit 1" | "test:unit": "jest" | ||
}, | }, | ||
"dependencies": { | "dependencies": { | ||
"express": "^4.21.1", | "express": "^4.21.1", | ||
... | @@ -16,6 +17,8 @@ | ... | @@ -16,6 +17,8 @@ |
"devDependencies": { | "devDependencies": { | ||
"@eslint/js": "^9.13.0", | "@eslint/js": "^9.13.0", | ||
"eslint": "^9.13.0", | "eslint": "^9.13.0", | ||
"globals": "^15.11.0" | "globals": "^15.11.0", | ||
"jest": "^29.7.0", | |||
"supertest": "^7.0.0" | |||
} | } | ||
} | } |
src/controller/controller.js
0 → 100644
Please register or sign in to comment