Swagger TODO backend example.
NOTE! UI is broken at the moment as auth relies on jwt now. There is however a simple test case showing how to authenticate and access the UI, though.
npm installnpm start. If you want to restart server automatically during development, hitnode-dev bin/www(expects node-dev)- Surf to
http://localhost:3000/v1/docs/for API navigator - Set field
api_keytoapikey - Hit
Explore - Perform operations. You could start with a POST. Note that you have to format POST body within a JSON string. Ie.
{"name": "demo"}would work.
In case you want to modify the configuration of the project, you can either set environment variables (first priority) or copy config/config.template.js as config/config.js and do needed adjustments there. If you want to mute Failed to find value warnings, set MUTE_PARSE_ENV to true.
swagger-todo is available under MIT. See LICENSE for more details.
