Skip to content
/ go-api-example Public template

A Go API example with dependency injection and repository pattern

Notifications You must be signed in to change notification settings

BurakYs/go-api-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go API Example

A simple REST API with basic session-based user authentication.

🔧 Stack

  • Go
  • Fiber
  • MongoDB
  • Redis

🏗️ Architecture

  • Uses dependency injection to manage dependencies.
  • Uses the repository pattern to separate data access from business logic.

🛠️ Setup the Project

git clone https://github.com/BurakYs/go-api-example.git
cd go-api-example
cp .env.example .env

About

A Go API example with dependency injection and repository pattern

Topics

Resources

Stars

Watchers

Forks

Sponsor this project