manosbatsis / restdude

Full stack, high level framework for horizontal, model-driven application hackers.
https://manosbatsis.github.io/restdude
3 stars 3 forks source link

Support configurable API structures #8

Open manosbatsis opened 7 years ago

manosbatsis commented 7 years ago

An API is typically structured around "applications", i.e. nested groups of functionality mapping to URL path hierarchies. Model resource annotations should allow assignment of a (parent) application path per model and map model-based controllers accordingly by default, e.g..

- http://localhost/api/
  - sales/products
  - sales/categories
  - accounting/invoices
  - accounting/invoicelines