Skip to content

krulsaidme0w/simple-rest-api-user-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1st golang pet

simple user service

Install and run (you can change user storage)

docker-compose -f docker-compose.yml 

My service has 2 different user storages (u can change them in docker-compose.yml):

  • s3 storage (minio)
  • file storage (store file for every user in local fs)

Also my service works nice to get user with username or name, for this i use cache. It helps to get user with logN complexity. Its filling up from storage when server is starting.

Technologies i was working with:

api:

  • swagger

container:

  • docker (Dockerfile, docker-compose)

go:

  • Hexagonal Architecture
  • dig (uber-go/dig)
  • fasthttp
  • s3 minio
  • read/write from/to local files

About

Simple user api using fasthttp, s3 minio, local fs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published