Hapi
+
SWAGGER
Getting more out of your REST APIs
@darinc
SWAGGER
What is Swagger?
"a specification and complete framework implementation for describing, producing, consuming, and visualizing RESTful web services"

Swagger-UI
Swagger Language support
- Java
- Scala
- Python
- Perl
- Javascript
- PHP
- (and more?)
Team Behind Swagger
HelloReverb

Gaining Momentum:
Apigee announces Swagger support and auto API ingesting
Apigee announces Swagger support and auto API ingesting
Links
- Swagger.io
- The Swagger
Specification
- HelloReverb - Demo
- Swagger-UI
HAPI
what is Hapi?
A rich framework for building web applications and services. hapi is a simple to use configuration-centric framework with built-in support for input validation, caching, authentication, and other essential facilities. hapi enables developers to focus on writing reusable application logic instead of spending time building infrastructure. The framework supports a powerful plugin architecture for pain-free and scalable extensibility.
Code:

Great Features
-
Built in support for CORS
-
Built in caching with multiple options
-
OAUTH support, HAWK support
-
Passport.js integration with travelogue
- Very active development
- Walmart labs helps fund development
- server.inject for automating integration tests
- Built in batch support
- Built in validation using JOI
Team Behind hapi
Eran Hammer (yes, that oauth guy)
Walmart Labs (@walmartlabs)
Momentum:
Running backend APIs for Walmart
Survived Black Friday
Links
- Hapi repo
- JOI validation
- Travelogue Passport.js integration
- World of Spumko (walmartlabs)
- Eran Hammer hapijs video
- twitter @hapijs
HAPI
+
SWAGGER
hapi-swagger
Nodejs project that is a Swagger UI plug-in for HAPI
When installed it will self document
the HTTP API interface in a project
the HTTP API interface in a project
TEAM
(just him)
LINKS
- hapi-swagger
- be-more-hapi - demo project
- be-more-hapi - presentation
DEMO
Questions?
hapi+swagger
By Darin Chambers
hapi+swagger
Hapi and Swagger together. Get more out of your REST APIs
- 1,293


