Categories
General

Building a Backend – Testing Endpoints (Part 3 of 3)

Welcome to the last part of my series on how to build an API. In this tutorial I’m going to cover testing your endpoints as an application would be using them. This will provide higher level coverage for our api project and database and is a great way to test the business logic of your endpoints and database.

Categories
General

Building a Backend – API (Part 2 of 3)

In this part of the series I am going to build on what we learned in part 1 of the series by creating a Web API. After this tutorial, we will have endpoints that allow us to create and read data from our database.

In this tutorial we are going to be using Node.js to set up a web server. In addition, we’re going to use the Express.js framework to help us quickly layout our routes. We will also be configuring our project to use Typescript. I will also help you set up your project for unit tests using jest.

Categories
General

Building a Backend – Database (Part 1 of 3)

In this series I am going to be covering how to create a backend from start to finish. I’m going to cover the process in several different sections. For our database we will be using PostgreSQL. I’ll go over all of the steps in detail, including what tools I’m using.

The architecture used in this series is built to be scalable, yet hopefully very simple for beginners. I’ll try my best to explain why I used certain technologies as we go along.