Create an API - Project Setup
In this new series we will be creating an API written in go, using a framework like Chi, connecting to a PostgreSQL, and have it deployed to a site like Railway. The project will be hosted in GitHu...

Source: DEV Community
In this new series we will be creating an API written in go, using a framework like Chi, connecting to a PostgreSQL, and have it deployed to a site like Railway. The project will be hosted in GitHub Requirements In order to follow this tutorial, we will need to have the following installed: The Go programing language, you can do this by following the instructions in the Go website The PostgreSQL database, to install just follow the instructions in the PostgreSQL website Git and GitHub for version control and remote repository Railway Account so you will have a place to deploy the application What are we going to be building Through this tutorial, we will be creating an API which will be tracking a book store and store comments for each of the books. We also will have a form of authentication, where we will sign in users, and with that we will implement a basic authorization module which will give some permissions to users. We will be adding both unit and integration tests, so we can en