Express Typeorm Rest Boilerplate Versions Save

Boilerplate code to get started with building RESTful API Services (Express, TypeORM MongoDB stack)

v0.4.3

2 years ago

0.4.3 (2021-11-17)

Bug Fixes

  • CRUD: fix update function (a95ad55)
  • express: replace map with foreach (3338f60)

v0.4.2

3 years ago

0.4.2 (2020-10-16)

Bug Fixes

  • CRUD: fix update CRUD method (31a79a4)
  • jobApplicationRoute: fix /:id endpoint by adding object permission (446f31c)

v0.4.1

3 years ago

0.4.1 (2020-10-11)

Bug Fixes

  • CRUD: make id strictly type string (2378d4a)
  • routes: add checkRole('staff') middleware for delete,post,put endpoints (b3a98bf)
  • routes: refactor delete route status code to 204 (56bdf83)
  • UserFactory: add user role (6a026f7)
  • UserService: refactor id param to be strictly of type string (fee0993)

v0.4.0

3 years ago

0.4.0 (2020-10-10)

Bug Fixes

  • app: separate app and server for e2e testing (a6d2cbb)
  • ErrorHandler: fix imports and add error handler in express loader (5571f23)
  • expressLoader: add celebrate validation error handler (f8421bc)
  • JobApplicationFactory: fix ObjectID bug with typeorm (8878c14)
  • services: add undefined check for JobApplication service (604c195)

Features

  • ErrorHandler: add custom error handler with status code (d742c3e)

v0.3.0

3 years ago

0.3.0 (2020-10-06)

Bug Fixes

  • CRUD: fix update bug with fill (d9a1658)
  • Generator: add missing export route code (b6dede6)
  • jest: jest run in series instead of parallel (57d0c6f)
  • JobApplication: remove default appliedDate causing bug in update (45ab09e)
  • ormconfig.js: fix TS_NODE env not set (7e615d6)

Features

  • CRUD: add fillObjectIdField function (319588c)
  • factories: add JobApplication factory (510b0a5)
  • JobApplication: add JobApplication entity (a3b2d86)
  • jobApplicationRoute: add jobApplication endpoints (41b4dcb)
  • JobApplicationService: add update function (0bebf19)
  • seeds: add JobApplication seed (cc72beb)
  • services: add JobApplication service (80afac2)

v0.2.0

3 years ago

0.2.0 (2020-10-06)

Bug Fixes

  • companyroute: refactor response json format (d9dd2bd)
  • CRUD: make identifier optional in create function (7b6e584)
  • generator: refactor route code generator response json format (5026a5f)
  • middlewares: add checkRole to middleware index (f9813b6)
  • middlewares: refactor attachUser to use UserService findOne (9249b5a)

Features

  • middlewares: add checkRole middleware (0f0bd5b)
  • services: add UserService find and findOne which removes password field (994c370)
  • UserEntity: add role (88ad053)
  • userRoute: add / and /current endpoints to user route (42324c5)

v0.1.1

3 years ago

0.1.1 (2020-10-05)

Bug Fixes

  • build: fix running compiled app by adding ormconfig for dist (811423f)
  • package.json: fix test env variable for ormconfig in build (308fd37)

v0.1.0

3 years ago

0.1.0 (2020-10-05)

Bug Fixes

  • .releaserc: fix semantic-release branch was set to master instead of main (5a752c5)

Features

  • package.json: add husky and commitlint (7946e6a)