Skip to content

Commit 4325394

Browse files
authored
refactor: regenerate project by use nest cli (#13)
* wip * docs: remove wrong READMD.md * style: apply lint * feat: add event handler * feat: add account query * style: apply lint * feat: add account controller, update password command * style: apply lint * refactor: add integration event * refactor: add app service for config with env * refactor: implement infrastructure * fix: app controller * test: remove useless test * refactor: add provider to module * refactor: add access modifiers in handler * refactor: handle redis connection error * refactor: default database connection and error handling * fix: add mysql package * refactor: remove default export and ommit public access modifier * test: add account spec * style: apply lint * test: fix jest config * refactor: rename and restructuring about infrastructure * fix: wrong created empty account entity when get account new id * fix: connect rabbitMQ recursively * fix: unhandled account opened event * refactor: event handler access modifier and event log * fix: encrypt password when account open * feat: add remit to controller * refactor: add dto validation * chore: rename infrastructure entity directory * chore: update packages * feat: remove unusable data in query result * fix: dto validation * test: update account domain spec * doc: add swagger
1 parent f2bdd81 commit 4325394

File tree

135 files changed

+4076
-10460
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+4076
-10460
lines changed

.eslintignore

Lines changed: 0 additions & 8 deletions
This file was deleted.

.eslintrc

Lines changed: 0 additions & 17 deletions
This file was deleted.

.eslintrc.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
module.exports = {
2+
parser: '@typescript-eslint/parser',
3+
parserOptions: {
4+
project: 'tsconfig.json',
5+
sourceType: 'module',
6+
},
7+
plugins: ['@typescript-eslint/eslint-plugin'],
8+
extends: [
9+
'plugin:@typescript-eslint/recommended',
10+
'prettier/@typescript-eslint',
11+
'plugin:prettier/recommended',
12+
],
13+
root: true,
14+
env: {
15+
node: true,
16+
jest: true,
17+
},
18+
ignorePatterns: ['.eslintrc.js'],
19+
rules: {
20+
'@typescript-eslint/interface-name-prefix': 'off',
21+
'@typescript-eslint/explicit-function-return-type': 'off',
22+
'@typescript-eslint/explicit-module-boundary-types': 'off',
23+
'@typescript-eslint/no-explicit-any': 'off',
24+
},
25+
};

.gitignore

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,34 @@
1-
node_modules
2-
.vscode
3-
dist
1+
# compiled output
2+
/dist
3+
/node_modules
4+
5+
# Logs
6+
logs
7+
*.log
8+
npm-debug.log*
9+
yarn-debug.log*
10+
yarn-error.log*
11+
lerna-debug.log*
12+
13+
# OS
414
.DS_Store
15+
16+
# Tests
17+
/coverage
18+
/.nyc_output
19+
20+
# IDEs and editors
21+
/.idea
22+
.project
23+
.classpath
24+
.c9/
25+
*.launch
26+
.settings/
27+
*.sublime-workspace
28+
29+
# IDE - VSCode
30+
.vscode/*
31+
!.vscode/settings.json
32+
!.vscode/tasks.json
33+
!.vscode/launch.json
34+
!.vscode/extensions.json

.prettierrc

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
{
22
"singleQuote": true,
3-
"parser": "typescript",
4-
"semi": true,
5-
"printWidth": 100,
6-
"trailingComma": "all",
7-
"endOfLine": "auto"
8-
}
3+
"trailingComma": "all"
4+
}

helm/.helmignore

Lines changed: 0 additions & 24 deletions
This file was deleted.

helm/Chart.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

helm/templates/NOTES.txt

Lines changed: 0 additions & 21 deletions
This file was deleted.

helm/templates/_helpers.tpl

Lines changed: 0 additions & 45 deletions
This file was deleted.

helm/templates/deployment.yaml

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)