an example of rest app