nest-api-example

Example of an Restful API with Nest.js and TypeORM

GPL-3.0 License

Stars
79
nest-api-example - v1.4.0

Published by leosuncin about 2 years ago

1.4.0 (2022-08-14)

Features

  • auth: validate that the password must be different than username (701b634)
nest-api-example - v1.3.1

Published by leosuncin over 2 years ago

1.3.1 (2022-05-26)

Performance Improvements

  • reduce duplicate code in tests (9525bdc)
nest-api-example - v1.3.0

Published by leosuncin over 2 years ago

1.3.0 (2022-05-19)

Features

  • auth: validate that the password is not exposed in haveibeenpwned.com (381461f)
nest-api-example - v1.2.0

Published by leosuncin over 2 years ago

1.2.0 (2022-05-17)

Features

nest-api-example - v1.1.0

Published by leosuncin over 2 years ago

1.1.0 (2022-05-16)

Bug Fixes

  • blog: amend pagination of comments (d2b9b11)

Features

  • blog: add blog module (f4d469e)
  • blog: create a new article (b5b8b45)
  • blog: create a new article (ea56b7f)
  • blog: get one article by id or slug (28b30f5)
  • blog: list and paginate articles (4482786)
  • blog: list and paginate comments (12fcd8c)
  • blog: remove one article (f5a3d64)
  • blog: remove one comment (7a81ee9)
  • blog: update one article (9ee4ef2)
nest-api-example - v1.0.0

Published by leosuncin over 2 years ago

1.0.0 (2022-04-30)

Bug Fixes

  • auth: avoid to override the password (9fd6bf0)
  • auth: exclude password from response (51fc34e)
  • wrap variable in dowuble quotes (c12714c)

Features

  • auth: add auth module (4dfd453)
  • auth: add interceptor to add JWT in the response (c9e7b0c)
  • auth: add login DTO with validation (ac5a65b)
  • auth: add register DTO with validation (fe4b7f7)
  • auth: add user entity (ddead6d)
  • auth: get current user from JWT (9e06025)
  • auth: login with an existing user (dd8f6b1)
  • auth: prevent to register a duplicate user (1225fe5)
  • auth: register a new user (dcd98da)
  • auth: update current user data (820d2e3)
  • auth: validate the update of the user (5678139)
  • auth: validate user credentials (fe0d673)
  • setup TypeORM with PosgreSQL (13aa047)
  • use validation pipe globally (269dd59)