├── .eslintrc.json ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── config.yml │ └── feature_request.yml ├── PULL_REQUEST_TEMPLATE.md └── PULL_REQUEST_TEMPLATE │ └── pull_request_template.md ├── .gitignore ├── .prettierrc ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── example ├── components │ └── ComponentExample.ts ├── controllers │ └── controllerExample.ts ├── exceptions │ ├── exceptions │ │ └── ValidationExeption.ts │ └── handlers │ │ └── index.ts └── index.ts ├── jest.config.ts ├── package.json ├── src ├── configRoutes │ ├── ConfigRoutes.ts │ ├── handleEndpoint.ts │ └── parameterReducer.ts ├── decorators │ ├── Component.ts │ ├── Controller.ts │ ├── ErrorHandler.ts │ ├── Header.ts │ ├── HttpCode.ts │ ├── Inject.ts │ ├── Methods.ts │ ├── Middleware.ts │ └── Parameter.ts ├── edno │ └── index.ts ├── helpers │ ├── abstractPathTranslator.ts │ ├── filterAbstract.ts │ ├── processMiddleware.ts │ ├── readBody.ts │ └── readDirRecursive.ts ├── loaders │ └── index.ts ├── regex │ └── urlToRegex.ts ├── response │ └── responseBuilder.ts ├── router │ └── index.ts ├── stores │ ├── ErrorHandlerStore.ts │ ├── InjectorStore.ts │ ├── MiddlewareStore.ts │ ├── ParameterStore.ts │ └── controllerStore.ts ├── types │ ├── HttpStatus.ts │ └── index.ts └── utils │ └── HttpException.ts └── tsconfig.json /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/.github/ISSUE_TEMPLATE/feature_request.yml -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | /.idea/ 3 | /lib/ 4 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/.prettierrc -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/README.md -------------------------------------------------------------------------------- /example/components/ComponentExample.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/example/components/ComponentExample.ts -------------------------------------------------------------------------------- /example/controllers/controllerExample.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/example/controllers/controllerExample.ts -------------------------------------------------------------------------------- /example/exceptions/exceptions/ValidationExeption.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/example/exceptions/exceptions/ValidationExeption.ts -------------------------------------------------------------------------------- /example/exceptions/handlers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/example/exceptions/handlers/index.ts -------------------------------------------------------------------------------- /example/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/example/index.ts -------------------------------------------------------------------------------- /jest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/jest.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/package.json -------------------------------------------------------------------------------- /src/configRoutes/ConfigRoutes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/configRoutes/ConfigRoutes.ts -------------------------------------------------------------------------------- /src/configRoutes/handleEndpoint.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/configRoutes/handleEndpoint.ts -------------------------------------------------------------------------------- /src/configRoutes/parameterReducer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/configRoutes/parameterReducer.ts -------------------------------------------------------------------------------- /src/decorators/Component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/decorators/Component.ts -------------------------------------------------------------------------------- /src/decorators/Controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/decorators/Controller.ts -------------------------------------------------------------------------------- /src/decorators/ErrorHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/decorators/ErrorHandler.ts -------------------------------------------------------------------------------- /src/decorators/Header.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/decorators/Header.ts -------------------------------------------------------------------------------- /src/decorators/HttpCode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/decorators/HttpCode.ts -------------------------------------------------------------------------------- /src/decorators/Inject.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/decorators/Inject.ts -------------------------------------------------------------------------------- /src/decorators/Methods.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/decorators/Methods.ts -------------------------------------------------------------------------------- /src/decorators/Middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/decorators/Middleware.ts -------------------------------------------------------------------------------- /src/decorators/Parameter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/decorators/Parameter.ts -------------------------------------------------------------------------------- /src/edno/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/edno/index.ts -------------------------------------------------------------------------------- /src/helpers/abstractPathTranslator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/helpers/abstractPathTranslator.ts -------------------------------------------------------------------------------- /src/helpers/filterAbstract.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/helpers/filterAbstract.ts -------------------------------------------------------------------------------- /src/helpers/processMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/helpers/processMiddleware.ts -------------------------------------------------------------------------------- /src/helpers/readBody.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/helpers/readBody.ts -------------------------------------------------------------------------------- /src/helpers/readDirRecursive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/helpers/readDirRecursive.ts -------------------------------------------------------------------------------- /src/loaders/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/loaders/index.ts -------------------------------------------------------------------------------- /src/regex/urlToRegex.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/regex/urlToRegex.ts -------------------------------------------------------------------------------- /src/response/responseBuilder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/response/responseBuilder.ts -------------------------------------------------------------------------------- /src/router/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/router/index.ts -------------------------------------------------------------------------------- /src/stores/ErrorHandlerStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/stores/ErrorHandlerStore.ts -------------------------------------------------------------------------------- /src/stores/InjectorStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/stores/InjectorStore.ts -------------------------------------------------------------------------------- /src/stores/MiddlewareStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/stores/MiddlewareStore.ts -------------------------------------------------------------------------------- /src/stores/ParameterStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/stores/ParameterStore.ts -------------------------------------------------------------------------------- /src/stores/controllerStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/stores/controllerStore.ts -------------------------------------------------------------------------------- /src/types/HttpStatus.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/types/HttpStatus.ts -------------------------------------------------------------------------------- /src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/types/index.ts -------------------------------------------------------------------------------- /src/utils/HttpException.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/src/utils/HttpException.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blopaa/Edno/HEAD/tsconfig.json --------------------------------------------------------------------------------