Skip to content

Setup JWT token based authentication #2

@narainsagar

Description

@narainsagar

Can we keep the jwt code in some separate place / directory so if one want to use or write it's own authentication module can simply remove that directory and from package configs?

  • A new user model to be created with some info like name, email, password, etc.
  • Create & setup it's all basic routes like GET, POST, PUT, etc.
  • Setup jwt and proper middleware functions i.e., validateToken etc.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions