Skip to content

Production Backend Web Applications with Go, PostgreSQL, Docker

Notifications You must be signed in to change notification settings

salvatoreolivieri/go-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ec5982a Β· Nov 13, 2024

History

53 Commits
Nov 13, 2024
Oct 27, 2024
Nov 13, 2024
Nov 13, 2024
Nov 13, 2024
Oct 14, 2024
Oct 28, 2024
Oct 8, 2024
Oct 21, 2024
Oct 27, 2024
Nov 13, 2024
Oct 13, 2024
Nov 13, 2024
Nov 7, 2024
Nov 11, 2024
Nov 11, 2024

Repository files navigation

Production-Ready Backend Web Application with Go, PostgreSQL, and Docker πŸš€

This repository is designed for a scalable and efficient backend web application built with Go. It leverages PostgreSQL as the primary database, Redis for caching, and is containerized with Docker for consistent deployment across environments. The application includes robust security, performance optimizations, and monitoring to ensure smooth operation in production settings.

Key Features:

User Authentication & Authorization πŸ”’

  • Secure JWT-based authentication
  • Two-factor user activation for enhanced security πŸ”‘

CRUD Operations ✏️

  • Fully implemented for core resources, including User and Post tables in PostgreSQL

Fixed-Window Rate Limiting 🚦

  • Built-in protection against brute force and denial-of-service attacks

Caching with Redis ⚑

  • Enhanced performance with caching for frequently accessed data

Database Integration with PostgreSQL πŸ—„οΈ

  • Structuring and managing data with scalable tables (e.g., Users, Posts)

Server Metrics Monitoring πŸ“Š

  • Track and monitor server health with real-time metrics for performance insights

CORS Configuration 🌐

  • Proper handling of cross-origin requests to ensure secure API interactions

CI/CD Workflow πŸ”„

  • Automated workflows for continuous integration and deployment using GitHub Actions or similar

Comprehensive API Documentation with Swagger πŸ“œ

  • Self-documented, interactive API for seamless developer experience

About

Production Backend Web Applications with Go, PostgreSQL, Docker

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published