Kaang: A RESTful API Generator for the Modern Web

Author Ricardo Queirós

Thumbnail PDF


  • Filesize: 0.5 MB
  • 15 pages

Document Identifiers

Author Details

Ricardo Queirós
  • CRACS & INESC-Porto LA & DI/ESMAD/P.PORTO, Porto, Portugal

Cite AsGet BibTex

Ricardo Queirós. Kaang: A RESTful API Generator for the Modern Web. In 7th Symposium on Languages, Applications and Technologies (SLATE 2018). Open Access Series in Informatics (OASIcs), Volume 62, pp. 1:1-1:15, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2018)


Technology is constantly evolving, as a result, users have become more demanding and the applications more complex. In the realm of Web development, JavaScript is growing in a surprising way, already leaving the boundaries of the browser, mainly due to the advent of Node.js. In fact, JavaScript is constantly being reinvented and, from the ES2015 version, began to include the OO concepts typically found in other programming languages. With Web access being mostly made by mobile devices, developers face now performance challenges and need to perform a plethora of tasks that weren't necessary a decade ago, such as managing dependencies, bundling files, minifying code, optimizing images and others. Many of these tasks can be achieved by using the right tools for the job. However, developers not only have to know those tools, but they also must know how to access and operate them. This process can be tedious, confusing, time-consuming and error-prone. In this paper, we present Kaang, an automatic generator of RESTFul Web applications. The ultimate goal of Kaang is to minimize the impact of creating a RESTFul service by automating all its workflow (e.g., files structuring, boilerplate code generation, dependencies management, and task building). This kind of generators will benefit two types of users: will help novice developers to decrease their learning curve while facing the new frameworks and libraries commonly found in the modern Web and speed up the work of expert developers avoiding all the repetitive and bureaucratic work. At the same time, Kaang promotes the good development principles by adding automatic testing and documentation generation. For this accomplishment, Kaang generates the main API content based on the user's input and a set of templates which will help developers to manage and test routes, define resources, store data models and others. In order to provide an addition level of confidence to the generator's end-users, the generator will be integrated on Travis CI and published on both the npmjs and Yeoman registries.

Subject Classification

ACM Subject Classification
  • Software and its engineering → Source code generation
  • web development
  • generators
  • web tooling
  • javascript


  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    PDF Downloads


  1. Stefan Baumgartner. Front-End Tooling with Gulp, Bower, and Yeoman. Manning Publications, 2017. Google Scholar
  2. Marijn Haverbeke. Eloquent JavaScript. No Starch Press, 2017. Google Scholar
  3. Ricardo Queirós. CSS preprocessing: Tools and automation techniques. Information, 9(1), 2018. URL: http://dx.doi.org/10.3390/info9010017.
  4. Alex Rauschmayer. Speaking JavaScript: An In-Depth Guide for Programmers. O'Reilly, 2017. Google Scholar
Questions / Remarks / Feedback

Feedback for Dagstuhl Publishing

Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail