Skip to content

Commit b957bd4

Browse files
authored
Update readMe.md
1 parent 3edc3da commit b957bd4

File tree

1 file changed

+26
-6
lines changed

1 file changed

+26
-6
lines changed

readMe.md

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,30 @@
1-
# API with Golang, PostgreSQL, SQLC, Docker & Gin Gonic
1+
# Golang, SQLC, and PostgreSQL: JWT Access & Refresh Tokens
22

3-
### 1. API with Golang, PostgreSQL, SQLC & Gin Gonic: Project Setup
4-
[API with Golang, PostgreSQL, SQLC & Gin Gonic: Project Setup](https://codevoweb.com/api-golang-postgresql-sqlc-gin-gonic-project-setup)
3+
![Golang, SQLC, and PostgreSQL: JWT Access & Refresh Tokens](https://codevoweb.com/wp-content/uploads/2022/06/Build-Golang-PostgreSQL-API-JWT-Access-and-Refresh-Tokens.webp)
54

6-
### 2. Build Golang & PostgreSQL API: JWT Access and Refresh Tokens
7-
[Build Golang & PostgreSQL API: JWT Access and Refresh Tokens](https://codevoweb.com/golang-postgresql-api-access-and-refresh-tokens)
5+
This article will teach you how to use the RS256 algorithm to implement JSON Web Token (JWT) Authentication and Authorization with Golang, Gin Gonic, SQLC, PostgreSQL, and Docker-compose. Also, you will learn how to use asymmetric encryption (private and public keys) to generate access and refresh JWTs in Golang.
6+
7+
## Topics Covered
8+
9+
- Golang & SQLC JWT Authentication Overview
10+
- Setup Environment Variables with Viper
11+
- Define the Database User models with Structs
12+
- Define Helper Functions to hash and verify Passwords
13+
- Define Utility functions to Sign and Verify JWT Tokens
14+
- Create the Authentication Route Handlers
15+
- Create an Authentication middleware
16+
- Setup routing with Gin
17+
- Configure the Main Server File
18+
19+
Read the entire article here: [https://codevoweb.com/golang-postgresql-api-access-and-refresh-tokens](https://codevoweb.com/golang-postgresql-api-access-and-refresh-tokens)
20+
21+
Articles in this series:
22+
23+
### 1. How to Setup SQLC CRUD API with Golang and Gin Gonic
24+
[How to Setup SQLC CRUD API with Golang and Gin Gonic](https://codevoweb.com/api-golang-postgresql-sqlc-gin-gonic-project-setup)
25+
26+
### 2. Golang, SQLC, and PostgreSQL: JWT Access & Refresh Tokens
27+
[Golang, SQLC, and PostgreSQL: JWT Access & Refresh Tokens](https://codevoweb.com/golang-postgresql-api-access-and-refresh-tokens)
828

929
### 3. Golang CRUD RESTful API with SQLC and PostgreSQL
10-
[Golang CRUD RESTful API with SQLC and PostgreSQL](https://codevoweb.com/golang-crud-restful-api-with-sqlc-and-postgresql)
30+
[Golang CRUD RESTful API with SQLC and PostgreSQL](https://codevoweb.com/golang-crud-restful-api-with-sqlc-and-postgresql)

0 commit comments

Comments
 (0)