# API-First Development with Swagger
*Presented by: [Fred Willerup](https://www.linkedin.com/in/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](http://editor.swagger.io)
* [Swagger ES6 Node.js code generator](https://www.npmjs.com/package/swagger-node-codegen)
* Use your API Swagger definition to generate the Node.js ES6-compliant code of your API.
* https://github.com/willerup/swagger-demo
Notes from Boise Code Camp 2016 talk: API-First Development with Swagger by Fred Willerup.
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.