Part 2 - Foundation

By the end of this part you will have a basic working API that will allow you to create and read data, to and from a PostgreSQL DB.

3. Iniial Build

We scaffold up the project we’ll be using throughout the rest of the book and put it under version control with Git.

4. Basic Data Layer

This iteration we’ll set up a basic data layer comprising: a single data model, a DbContext and a PostgreSQL database running in Docker.

5. Controllers

We add our first controller and discuss REST principles as well as the differences between minimal and controller based APIs.