Learn how to protect API endpoints with access and refresh tokens using the third-party jwt-go library.
[Read More]How to Build an API Server in Go - Part 3: Postgres Database
Learn how to implement the database layer for your webserver
The purpose of this article is to provide instructions on how to setup postgres database with our application.
[Read More]How to Build an API Server in Go - Part 2: Simple Database
The purpose of this post is to learn how our basic API server can read the body of a request. In addition, we will learn how to use an easy-to-use simple database for beginners called scribble.
[Read More]How to Build an API Server in Go - Part 1: Basic Server
The purpose of this post is to provide instructions on how to setup a simple RESTful API server, in Golang, using only the net/http package and not any other third-party web framework. You will learn how to create REST endpoints within your project that can handle POST, GET, PUT and DELETE HTTP requests. This is the first post in a multi-post series.
[Read More]