Skip to content

Commit

Permalink
refactor: regenerate project by use nest cli (#13)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
kyhsa93 authored May 8, 2021
1 parent f2bdd81 commit 4325394
Show file tree
Hide file tree
Showing 135 changed files with 4,076 additions and 10,460 deletions.
8 changes: 0 additions & 8 deletions .eslintignore

This file was deleted.

17 changes: 0 additions & 17 deletions .eslintrc

This file was deleted.

25 changes: 25 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
sourceType: 'module',
},
plugins: ['@typescript-eslint/eslint-plugin'],
extends: [
'plugin:@typescript-eslint/recommended',
'prettier/@typescript-eslint',
'plugin:prettier/recommended',
],
root: true,
env: {
node: true,
jest: true,
},
ignorePatterns: ['.eslintrc.js'],
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
},
};
36 changes: 33 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,34 @@
node_modules
.vscode
dist
# compiled output
/dist
/node_modules

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# OS
.DS_Store

# Tests
/coverage
/.nyc_output

# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
8 changes: 2 additions & 6 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{
"singleQuote": true,
"parser": "typescript",
"semi": true,
"printWidth": 100,
"trailingComma": "all",
"endOfLine": "auto"
}
"trailingComma": "all"
}
24 changes: 0 additions & 24 deletions helm/.helmignore

This file was deleted.

5 changes: 0 additions & 5 deletions helm/Chart.yaml

This file was deleted.

21 changes: 0 additions & 21 deletions helm/templates/NOTES.txt

This file was deleted.

45 changes: 0 additions & 45 deletions helm/templates/_helpers.tpl

This file was deleted.

54 changes: 0 additions & 54 deletions helm/templates/deployment.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions helm/templates/ingress.yaml

This file was deleted.

27 changes: 0 additions & 27 deletions helm/templates/service.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions helm/templates/tests/test-connection.yaml

This file was deleted.

31 changes: 0 additions & 31 deletions helm/values.yaml

This file was deleted.

Loading

0 comments on commit 4325394

Please sign in to comment.