Chapter 2. Expense Tracker

In this chapter, we will see how to build an expense tracker application. It will store all of our expenses for a given category. We will be able to see an aggregated balance of our expenses, or expenses by category. Each user will have a separate account to manage their expenses.

Some of the interesting topics that we will cover are:

  • Creating a multiuser system
  • Working with monetary data
  • Using the MongoDB aggregation framework
  • Different authentication strategies, such as HTTP Basic and token-based authentication

Setting up the base application

Let's set up the base structure and files of our application. The whole source code for the project will be available as a bundle at https://www.packtpub.com/. Therefore, we are only ...

Get MEAN Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.