You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey guys! While working on an Express app, I created a simple wrapper for the routes based on the Express router. Generally, allowing me to chain routes with different paths together, sharing middleware across specific routes and using an authentication middleware automatically when needed!
I found out that it actually has made the whole process of dealing with routes a better experience in Express in my opinion so I made an NPM package for it, supporting also Fastify now!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey guys! While working on an Express app, I created a simple wrapper for the routes based on the Express router. Generally, allowing me to chain routes with different paths together, sharing middleware across specific routes and using an authentication middleware automatically when needed!
I found out that it actually has made the whole process of dealing with routes a better experience in Express in my opinion so I made an NPM package for it, supporting also Fastify now!
You can find it here!
Your feedback would be greatly welcomed and appreciated! Thank you in advance:)
Beta Was this translation helpful? Give feedback.
All reactions