Create a Web App and RESTful API Server Using the MEAN Stack - Heroku Dev Center

https://devcenter.heroku.com/articles/mean-apps-restful-api

This tutorial demonstrates how to use the MEAN stack to rapidly create a RESTful API server and web application.