Introduction

YAWP! is a lightweight REST API framework focused on productivity and scalability.

It is primarily targeted at running in Google Cloud Platform. It leverages its power by the seamless integration of different cloud APIs into a simple web framework.

The server side is written in Java and works in Google App Engine. The client side is written in JavaScript and works in Node.js or in the browser.

Contributors are always welcome, the source code is at github.com/feroult/yawp.

Below is a quick overview of its usage and features.


Short Example

Everything happens around a plain Java object:

@Endpoint(path = "/people")
public class Person {
    @Id
    IdRef<Person> id;             
    String name;
}   

Then, we can access it from JavaScript:

var yawp = require('yawp');

var promise = yawp('/people').create({name: 'janes'}).then(function(person) {
    console.log('created', person.id);

    person.name = 'janes joplin';
    return person.save(function() {
        console.log('updated');
    });
});

And, finally, we can customize it with the extra features below.

Core Features

Server Side:

Client Side: