Skip to content

ammarsalahi/user-service-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User Service With Go (Gin Framework)

for use this Repo in your PC or Server , you must add ".env" file in root of Project like below:

PORT=8000 # or anything
DB_TYPE=postgres  # postgres or sqlite or mysql
DB_USER= user
DB_PASSWORD=password
DB_NAME=database_name
DB_PORT=5432
EXTERNAL_DB_PORT=7432
ACCESS_TOKEN_SECRET= your_access_secret_key
REFRESH_TOKEN_SECRET= your_ref_secret_key

and run project(repo) with docker compose just use this :

docker-compose up --build

you can run without docker just use this:

go mod download
go run main.go serve

About

GO User Service With Gin Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published