express-typescript-2024
express-typescript-2024 copied to clipboard
Protect route with auth middleware
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 would be awesome! I'm currently refactoring the code. If you could wait, would greatly appreciate it
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)