Skip to content

Create Auth module

create DTO files using ZOD and infer their types for Auth.

  • add router with /user/login and /user/register
  • add safe parser and protection middlewares
  • create jwt ( access and refresh )
  • add necessary states to enum
  • add Services
  • add Repository methods
Edited by amirnsamimi