Generate Rest Api From Database