building encourage app with MEAN stack