Avatar of tim_nolet
Founder, Engineer & Dishwasher at Checkly

JavaScript Node.js hapi Vue.js Swagger UI Slate

Two weeks ago we released the public API for Checkly. We already had an API that was serving our frontend Vue.js app. We decided to create an new set of API endpoints and not reuse the already existing one. The blog post linked below details what parts we needed to refactor, what parts we added and how we handled generating API documentation. More specifically, the post dives into:

  • Refactoring the existing Hapi.js based API
  • API key based authentication
  • Refactoring models with Objection.js
  • Validating plan limits
  • Generating Swagger & Slate based documentation
READ LESS
How we added a public API to our existing SaaS app (blog.checklyhq.com)
7 upvotes44.8K views
Avatar of Tim Nolet

Tim Nolet

Founder, Engineer & Dishwasher at Checkly