Endpoint module is a framework which allows Drupal acts as a light endpoint.
The module was designed specifically for REST API. It contains a router that allows to follow REST style in your URLs. Here is an example:
Endpoint is really light, fast and flexible, that makes it a good solution for projects where Drupal role is mobile backend and single-page app backend.