Skip to content

GA3RIELsouza/golang-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang RESTful API

English 🇺🇸

This is a simple RESTful API built with Golang for learning purposes.
It implements basic CRUD operations for managing products stored in a PostgreSQL database.

The project demonstrates:

  • Gin → HTTP routing and request handling
  • Zap → Structured and performant logging
  • PGX → PostgreSQL database driver and connection pool

Português 🇧🇷

Esta é uma API RESTful simples desenvolvida em Golang para fins de aprendizado.
Ela implementa operações básicas de CRUD para gerenciar produtos armazenados em um banco de dados PostgreSQL.

O projeto demonstra:

  • Gin → Roteamento HTTP e tratamento de requisições
  • Zap → Logging estruturado e de alta performance
  • PGX → Driver PostgreSQL e pool de conexões

Docker setup

docker build -t go_api .
docker compose up -d

About

This is a simple RESTful API built with Golang for learning purposes.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors