Skip to content

Instantly share code, notes, and snippets.

@vmasek
Last active September 18, 2018 14:07
Show Gist options
  • Save vmasek/5019720a1f75742fa23d57f6cb41b533 to your computer and use it in GitHub Desktop.
Save vmasek/5019720a1f75742fa23d57f6cb41b533 to your computer and use it in GitHub Desktop.
Putting struggles with APIs to the REST

Putting struggles with APIs to the REST

A talk proposal for the ReactiveConf

In today's world where the GraphGL hype is on and a lot of developers are stuck with dust covered REST, I will present an easy and sustainable solution for making the classic REST API feel like you wish it has felt in TypeScript.

It starts by having the same data models at front-end and back-end, then continues with API client interface in form of service build on Angular HTTP client. Everything is typed and described in the way developer don't even need to study the API endpoints.

All you need to set it up is an up to date swagger file and Angular project.

How is your talk relevant to this audience?

A lot of developers is struggling with how properly use the REST API in their apps. In Angular, we have a great opportunity which is HTTP Client supporting types. It is a great experience when you can work on a project where your models and data service are pre-generated and you can focus on state management, UI and business logic.


This has proven useful in multiple of our projects. In community around us and even on GitHub, where we already have a nice and growing set of contributors. More about a project can be found github.com/flowup/api-client-generator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment