Skip to content

Template for Go + PostgreSQL projects, user management API routes with token based authentication, useful middleware and common utilities.

Notifications You must be signed in to change notification settings

antonioarenzanapulido/backgoffice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BackGoffice

logo

This repository serves as starting point to projects that require user management on an SQL database through a REST API.

Routes

  • 🩺 Healthcheck
  • 🔧 Metrics
  • 🙋‍♂️ User creation, activation and password reset

Features

  • Stateful token based authentication
  • Graceful shutdown (including Goroutines)
  • Configuration by flags
  • Structured logging
  • Validation
  • Error responses
  • Pagination, filtering and sorting
  • JSON marshalling/unmarshalling
  • Various middleware:
    • Rate limiting
    • Panic recovery
    • Authenticated user in request context
    • CORS
  • Versioning with git commit hash
  • Migrations

About

Template for Go + PostgreSQL projects, user management API routes with token based authentication, useful middleware and common utilities.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published