Skip to content

Commit

Permalink
Merge branch 'release/v1.2.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-lebleu committed Mar 14, 2021
2 parents ea05485 + f7b1182 commit 2447e79
Show file tree
Hide file tree
Showing 33 changed files with 1,949 additions and 1,424 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

## [v1.2.0](https://github.com/konfer-be/ts-express-typeorm-boilerplate/compare/v1.1.4...v1.2.0)
## [v1.2.1](https://github.com/konfer-be/ts-express-typeorm-boilerplate/compare/v1.2.0...v1.2.1)

### Commits

- Use singletons for config classes [`1c38b90`](https://github.com/konfer-be/ts-express-typeorm-boilerplate/commit/1c38b905092bfd5baac3714e40c75a2a14b316bf)
- Use singletons/pure function for middlewares, split upload middleware config [`8109a7f`](https://github.com/konfer-be/ts-express-typeorm-boilerplate/commit/8109a7f6e7758f17a48268b5d1587024453d5406)
- Fix CI [`4585b1e`](https://github.com/konfer-be/ts-express-typeorm-boilerplate/commit/4585b1e2b194ab41de1ebb78a5c5f81c1192e96c)
- Fix CI [`c5f5a1f`](https://github.com/konfer-be/ts-express-typeorm-boilerplate/commit/c5f5a1fc767aa6d9d0be0b0062ea1dd4cba18bdb)
- Fix CI [`cfde108`](https://github.com/konfer-be/ts-express-typeorm-boilerplate/commit/cfde108158b4ec69899f1ffbf18f2ce3b34e1d94)

## [v1.2.0](https://github.com/konfer-be/ts-express-typeorm-boilerplate/compare/v1.1.4...v1.2.0) - 2021-03-13

### Commits

Expand All @@ -18,6 +28,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- Features description [`db08ce1`](https://github.com/konfer-be/ts-express-typeorm-boilerplate/commit/db08ce13c4bfb656f332bb166d5e95e1da8666ba)
- Update changelog [`13967d9`](https://github.com/konfer-be/ts-express-typeorm-boilerplate/commit/13967d9bc569cc5a1b0416fd5c48535e964581c4)
- Fix rescale paths [`ffbeecf`](https://github.com/konfer-be/ts-express-typeorm-boilerplate/commit/ffbeecf86c0855f44c28045efe3ad5b9fd7dc462)
- Update changelog [`f1e0489`](https://github.com/konfer-be/ts-express-typeorm-boilerplate/commit/f1e0489a6c86ff138f702839033d0f81c96b2106)
- Implements Sinon.js for testing [`ace1417`](https://github.com/konfer-be/ts-express-typeorm-boilerplate/commit/ace14176816436218343621c902e9954b36efee8)
- Fix custom types path [`fea5621`](https://github.com/konfer-be/ts-express-typeorm-boilerplate/commit/fea562182a8ceb9f99c2132ff76643679f6925c3)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Small but badass & ready to use RESTful API boilerplate builded with [Express.js

## > Features

* **Clear code architecture** with classic layers such controllers, services, repositories, models, middlewares, subscribers, utils, ...
* **Clear code architecture** with classic layers such controllers, services, repositories, models, ...
* **Object Relational Mapping** with [Typeorm](https://typeorm.io/#/).
* **SSL secure connection** with native [HTTPS node module](https://nodejs.org/docs/latest-v14.x/api/https.html).
* **Cross Oigin Resource Sharing** with [CORS](https://expressjs.com/en/resources/middleware/cors.html).
Expand Down
22 changes: 10 additions & 12 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
### FIXMEs
| Filename | line # | FIXME
|:------|:------:|:------
| ./src/api/config/environment.config.ts | 14 | encrypt confidential data on env variables (ie typeorm)
| ./src/api/models/media.model.ts | 10 | Media fieldname management. Seems to be always 'media'. Check and add e2e tests
| ./src/api/repositories/user.repository.ts | 106 | user should always retrieved from her email address. If not, possible collision on username value
| ./src/api/services/auth.service.ts | 52 | promise error is not managed
| ./src/api/services/auth.service.ts | 78 | promise error is not managed
| ./src/api/utils/string.util.ts | 38 | not working

### TODOs
| Filename | line # | TODO
|:------|:------:|:------
| ./src/api/decorators/safe.decorator.ts | 28 | fallback in catch
| ./src/api/middlewares/sanitizer.middleware.ts | 18 | safe decorator on this middleware and each other
| [./src/api/decorators/safe.decorator.ts](./src/api/decorators/safe.decorator.ts#L28) | 28 | fallback in catch

### FIXMEs
| Filename | line # | FIXME
|:------|:------:|:------
| [./src/api/models/media.model.ts](./src/api/models/media.model.ts#L10) | 10 | Media fieldname management. Seems to be always 'media'. Check and add e2e tests
| [./src/api/repositories/user.repository.ts](./src/api/repositories/user.repository.ts#L106) | 106 | user should always retrieved from her email address. If not, possible collision on username value
| [./src/api/services/auth.service.ts](./src/api/services/auth.service.ts#L52) | 52 | promise error is not managed
| [./src/api/services/auth.service.ts](./src/api/services/auth.service.ts#L78) | 78 | promise error is not managed
| [./src/api/utils/string.util.ts](./src/api/utils/string.util.ts#L38) | 38 | not working
Loading

0 comments on commit 2447e79

Please sign in to comment.