Skip to main content
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more. View results.

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
2 answers
114 views

Minimizing duplicate routes index.js

I am trying to build a REST API with express router, which contains of nested sub routes. I have mounted these sub routes in my index.js file. I have defined it as ...
Kunal Mukherjee's user avatar
3 votes
1 answer
144 views

Express.js routes management for large web application

I'm currently working on a large web application with numerous routes. Currently, our routes are in one large list in a single JSON file. We recently ran into a problem due to the precedence of ...
Aaron Goldsmith's user avatar
1 vote
1 answer
979 views

Routes for a user controller in a Node.js application

I have a very simple Node application that routes requests to /users to the following file: users.js ...
Baub's user avatar
  • 111
2 votes
1 answer
153 views

Parameterized route

Is this approach considered good practice, or should I create separate router.delete functions for all my routes? Please, explain why. ...
Engineering Machine's user avatar