feat: init project
parents
Showing
.eslintrc.js
0 → 100644
.gitignore
0 → 100644
.prettierrc
0 → 100644
.vscode/extensions.json
0 → 100644
.vscode/settings.json
0 → 100644
This diff is collapsed.
Click to expand it.
README.md
0 → 100644
nest-cli.json
0 → 100644
package.json
0 → 100644
| { | ||
| "name": "service-nest", | ||
| "version": "0.0.1", | ||
| "description": "", | ||
| "author": "", | ||
| "private": true, | ||
| "license": "UNLICENSED", | ||
| "scripts": { | ||
| "prebuild": "rimraf dist", | ||
| "build": "nest build", | ||
| "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", | ||
| "start": "nest start", | ||
| "start:dev": "nest start --watch", | ||
| "start:debug": "nest start --debug --watch", | ||
| "start:prod": "node dist/main", | ||
| "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", | ||
| "test": "jest", | ||
| "test:watch": "jest --watch", | ||
| "test:cov": "jest --coverage", | ||
| "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", | ||
| "test:e2e": "jest --config ./test/jest-e2e.json" | ||
| }, | ||
| "dependencies": { | ||
| "@nestjs/common": "^7.5.5", | ||
| "@nestjs/core": "^7.5.5", | ||
| "@nestjs/graphql": "^7.9.1", | ||
| "@nestjs/jwt": "^7.2.0", | ||
| "@nestjs/passport": "^7.1.5", | ||
| "@nestjs/platform-express": "^7.5.5", | ||
| "@nestjs/swagger": "^4.7.5", | ||
| "@nestjs/typeorm": "^7.1.5", | ||
| "apollo-server-express": "^2.19.0", | ||
| "bcrypt": "^5.0.0", | ||
| "body-parser-xml": "^2.0.1", | ||
| "class-transformer": "^0.3.1", | ||
| "class-validator": "^0.12.2", | ||
| "dayjs": "^1.9.7", | ||
| "express-rate-limit": "^5.2.3", | ||
| "graphql": "^15.4.0", | ||
| "graphql-tools": "^7.0.2", | ||
| "helmet": "^4.2.0", | ||
| "mysql": "^2.18.1", | ||
| "nestjs-config": "^1.4.7", | ||
| "passport": "^0.4.1", | ||
| "passport-jwt": "^4.0.0", | ||
| "passport-local": "^1.0.0", | ||
| "reflect-metadata": "^0.1.13", | ||
| "request-ip": "^2.1.3", | ||
| "rimraf": "^3.0.2", | ||
| "rxjs": "^6.6.3", | ||
| "swagger-ui-express": "^4.1.5", | ||
| "typeorm": "^0.2.29" | ||
| }, | ||
| "devDependencies": { | ||
| "@nestjs/cli": "^7.5.3", | ||
| "@nestjs/schematics": "^7.2.5", | ||
| "@nestjs/testing": "^7.5.5", | ||
| "@types/express": "^4.17.9", | ||
| "@types/jest": "26.0.18", | ||
| "@types/node": "^14.14.12", | ||
| "@types/passport-jwt": "^3.0.3", | ||
| "@types/passport-local": "^1.0.33", | ||
| "@types/supertest": "^2.0.10", | ||
| "@typescript-eslint/eslint-plugin": "^4.9.1", | ||
| "@typescript-eslint/parser": "^4.9.1", | ||
| "eslint": "^7.15.0", | ||
| "eslint-config-prettier": "^7.0.0", | ||
| "eslint-plugin-import": "^2.22.1", | ||
| "jest": "^26.6.3", | ||
| "prettier": "^2.2.1", | ||
| "supertest": "^6.0.1", | ||
| "ts-jest": "26.4.4", | ||
| "ts-loader": "^8.0.11", | ||
| "ts-node": "^9.1.1", | ||
| "tsconfig-paths": "^3.9.0", | ||
| "typescript": "^4.1.2" | ||
| }, | ||
| "jest": { | ||
| "moduleFileExtensions": [ | ||
| "js", | ||
| "json", | ||
| "ts" | ||
| ], | ||
| "rootDir": "src", | ||
| "testRegex": ".spec.ts$", | ||
| "transform": { | ||
| "^.+\\.(t|j)s$": "ts-jest" | ||
| }, | ||
| "coverageDirectory": "../coverage", | ||
| "testEnvironment": "node" | ||
| } | ||
| } |
pnpm-lock.yaml
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
src/app.controller.spec.ts
0 → 100644
src/app.controller.ts
0 → 100644
src/app.module.ts
0 → 100644
src/app.service.ts
0 → 100644
src/common/filters/http-exception.filter.ts
0 → 100644
src/common/logger.middleware.ts
0 → 100644
src/common/pipes/validation.pipe.ts
0 → 100644
src/common/transform.return.ts
0 → 100644
src/config/system.ts
0 → 100644
src/main.ts
0 → 100644
src/modules/chat/chat.controller.spec.ts
0 → 100644
src/modules/chat/chat.controller.ts
0 → 100644
src/modules/chat/chat.module.ts
0 → 100644
src/modules/chat/chat.service.spec.ts
0 → 100644
src/modules/chat/chat.service.ts
0 → 100644
src/modules/chat/dto/sendMessage.dto.ts
0 → 100644
test/app.e2e-spec.ts
0 → 100644
test/jest-e2e.json
0 → 100644
tsconfig.build.json
0 → 100644
tsconfig.json
0 → 100644
Please
register
or
sign in
to comment