DEV Community

Discussion on: How to structure your Express and Node.Js project

Collapse
 
nermineslimane profile image
nermineslimane • Edited

I use this method for the routes, i create one single entry point for all my routes like follows
/routes
-exemple1.routes.js
-exemple2.routes.js
-index.routes.js
-exemple3.routes.js
and in my index.routes.js I export all the routes