Users api
Showing
- .env 3 additions, 0 deletions.env
- .sequelizerc 8 additions, 0 deletions.sequelizerc
- __test__/README.md 18 additions, 0 deletions__test__/README.md
- package-lock.json 8505 additions, 0 deletionspackage-lock.json
- package.json 71 additions, 0 deletionspackage.json
- src/Controllers/UserCotroller.ts 85 additions, 0 deletionssrc/Controllers/UserCotroller.ts
- src/Controllers/index.ts 5 additions, 0 deletionssrc/Controllers/index.ts
- src/DTOs/UserDTO.ts 13 additions, 0 deletionssrc/DTOs/UserDTO.ts
- src/Services/UserService.ts 187 additions, 0 deletionssrc/Services/UserService.ts
- src/config/config.ts 10 additions, 0 deletionssrc/config/config.ts
- src/enums/index.enum.ts 11 additions, 0 deletionssrc/enums/index.enum.ts
- src/index.ts 49 additions, 0 deletionssrc/index.ts
- src/interfaces/paginator.interface.ts 4 additions, 0 deletionssrc/interfaces/paginator.interface.ts
- src/interfaces/user.interface.ts 20 additions, 0 deletionssrc/interfaces/user.interface.ts
- src/migrations/20200817181233-create-users.migration.ts 64 additions, 0 deletionssrc/migrations/20200817181233-create-users.migration.ts
- src/models/index.model.ts 5 additions, 0 deletionssrc/models/index.model.ts
- src/models/users.model.ts 81 additions, 0 deletionssrc/models/users.model.ts
- src/routes.ts 11 additions, 0 deletionssrc/routes.ts
- tsconfig.json 23 additions, 0 deletionstsconfig.json
.env
0 → 100644
.sequelizerc
0 → 100644
__test__/README.md
0 → 100644
package-lock.json
0 → 100644
This diff is collapsed.
package.json
0 → 100644
{ | ||
"name": "repp_backend", | ||
"version": "1.0.0", | ||
"description": "Herramienta de calculo del requerimiento energetico ponderado de una poblacion, llamado REPP.", | ||
"main": "index.ts", | ||
"dependencies": { | ||
"bcrypt": "^5.0.1", | ||
"config.json": "0.0.4", | ||
"cors": "^2.8.5", | ||
"dotenv": "^10.0.0", | ||
"express": "^4.17.1", | ||
"gulp-eslint": "^6.0.0", | ||
"mysql2": "^2.3.0", | ||
"openapi-types": "^9.3.0", | ||
"sequelize": "^6.6.5", | ||
"swagger-jsdoc": "^6.1.0", | ||
"swagger-ui-express": "^4.1.6", | ||
"tsconfig.json": "^1.0.10", | ||
"xlsx": "^0.17.1" | ||
}, | ||
"devDependencies": { | ||
"@types/bcrypt": "^5.0.0", | ||
"@types/bluebird": "^3.5.36", | ||
"@types/cors": "^2.8.12", | ||
"@types/express": "^4.17.13", | ||
"@types/node": "^16.9.6", | ||
"@types/swagger-jsdoc": "^6.0.1", | ||
"@types/swagger-ui-express": "^4.1.3", | ||
"@types/validator": "^13.6.3", | ||
"@typescript-eslint/eslint-plugin": "^2.34.0", | ||
"@typescript-eslint/parser": "^2.0.0", | ||
"eslint": "^7.32.0", | ||
"eslint-config-airbnb": "^18.2.1", | ||
"eslint-config-airbnb-base": "^14.2.1", | ||
"eslint-config-airbnb-typescript": "^7.2.1", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-jsx-a11y": "^6.4.1", | ||
"eslint-plugin-react": "^7.21.5", | ||
"eslint-plugin-react-hooks": "^4.0.8", | ||
"husky": "^4.3.8", | ||
"jest": "^27.0.6", | ||
"lint-staged": "^11.1.2", | ||
"nodemon": "^2.0.12", | ||
"sequelize-cli": "^6.2.0", | ||
"ts-node": "^10.2.1", | ||
"typescript": "^4.4.2" | ||
}, | ||
"scripts": { | ||
"start": "nodemon ./src/index.ts", | ||
"watch": "tsc -w", | ||
"test": "jest", | ||
"pretest": "./node_modules/.bin/eslint --ignore-path .gitignore . --fix" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://gitlab.fing.edu.uy/julieta.dubra/repp.git" | ||
}, | ||
"author": "", | ||
"license": "ISC", | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.ts": [ | ||
"./node_modules/.bin/eslint --fix", | ||
"git add" | ||
] | ||
} | ||
} |
src/Controllers/UserCotroller.ts
0 → 100644
src/Controllers/index.ts
0 → 100644
src/DTOs/UserDTO.ts
0 → 100644
src/Services/UserService.ts
0 → 100644
src/config/config.ts
0 → 100644
src/enums/index.enum.ts
0 → 100644
src/index.ts
0 → 100644
src/interfaces/paginator.interface.ts
0 → 100644
src/interfaces/user.interface.ts
0 → 100644
src/models/index.model.ts
0 → 100644
src/models/users.model.ts
0 → 100644
src/routes.ts
0 → 100644
tsconfig.json
0 → 100644
Please register or sign in to comment