Presented by: Fred Willerup
- Development is about balance
- API-first (or Spec-first) as a methodology
- Swagger issues
- Swagger errors aren't very helpful
- Lot's of duplicate code in the spec
- Enable CORs in Node app
npm install cors
- Look up enabling CORs in node app
- "Architecture is making decisions about what is hard to change."
- Why wouldn't you always do API first?
- In many cases it takes more work
Links:
- Swagger Editor
- Swagger ES6 Node.js code generator
- Use your API Swagger definition to generate the Node.js ES6-compliant code of your API.
- https://github.com/willerup/swagger-demo