Open holaymolay opened 7 years ago
Here's one way of approaching it:
How to separate the routes and models from app.js using NodeJS and Express https://stackoverflow.com/a/19629070/3170942 referenced video: https://vimeo.com/56166857
Here's an example of best practices for express app structure: project/
Here's one way of approaching it: