Skip to content

Production-grade Go backend scaffold with Clean Architecture, REST API, Postgres, JWT auth, and background workers.

Notifications You must be signed in to change notification settings

nahidulhasan/sentinel-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sentinel-core

sentinel-core — production-grade Go backend scaffold demonstrating Clean Architecture, REST API, Postgres, JWT auth skeleton, background worker pattern, Docker, and CI.

Features

  • Clean Architecture (internal/domain/usecase/infrastructure)
  • REST API (chi)
  • PostgreSQL (sqlx)
  • Config via Viper
  • Structured logging (zerolog)
  • JWT auth skeleton
  • Docker + docker-compose
  • Example unit tests

Quick start (development)

  1. Copy configs/config.yaml and edit environment values.
  2. Start postgres:
    docker-compose up -d
  3. Run the server:
    go run ./cmd/api

Project layout

See /internal for core app code and /cmd/api for app entrypoint.

About

Production-grade Go backend scaffold with Clean Architecture, REST API, Postgres, JWT auth, and background workers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published