I am newbie sailsjs. I would like to know how to list out all the routes including blueprints and custom routes in the form of JSON.
sails.config.routes
will get you your defined routes. Currently there is a github issue to collect the rest
https://github.com/balderdashy/sails/pull/2659#issuecomment-77417170
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With