Category server side validation framework node js