express-typescript-2024 icon indicating copy to clipboard operation
express-typescript-2024 copied to clipboard

Protect route with auth middleware

Open jpainam opened this issue 1 year ago • 2 comments

Hi.

Greate boilerplate. You can add a auth middleware to protect some route. I have an implementation in mind. Can submit a PR if you are not already working on it.

jpainam avatar Jul 07 '24 02:07 jpainam

@jpainam would be awesome! I'm currently refactoring the code. If you could wait, would greatly appreciate it

edwinhern avatar Jul 17 '24 08:07 edwinhern

feel free to take a look at https://github.com/Decoupled-Saas/api for how ive done the above, also feel free to imporve on my implementation (and hopefully incorporate/share alike)

allanice001 avatar Feb 28 '25 23:02 allanice001