bustle / shep

A framework for building JavaScript Applications with AWS API Gateway and Lambda
MIT License
377 stars 27 forks source link

Ability to configure shep with a path prefix #261

Open chris-olszewski opened 7 years ago

chris-olszewski commented 7 years ago

When trying to use shep as a library, one needs the current working directory of the node process. This can lead to some really clumsy directory changing. Suggested solution: shep.pathPrefix = 'my_project/api' and then pathPrefix is just joined to any of the paths in load.js