This is the code for admin portal using nodeJS and angularJS