convert data source to MEAN stack