a sample rest application