In this chapter, we will create a client-server app. The client will be written using Angular 2 and the server will be written using NodeJS and MongoDB. We can use TypeScript on both sides and we will see how we can reuse code between them.
The application can be used to take notes. We will implement a login page and basic, Create, Read, Update, and Delete (CRUD) operations for the notes.
In this chapter, we will cover the following topics:
Setting up the project structure
Getting started with NodeJS
Understanding the structural type system
Adding authentication
Testing the API
Adding CRUD operations
Writing the client side
Running the application