Skip to content

mrinjamul/gin-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gin-demo

Go Gin Demo GoLang

Step to RUN projects

1. Fetch Dependency:

go mod tidy

2. Environment Settings:

Copy docker/.env.sample to docker/.env and write environment details. Then export using this command.

cp docker/.env{.sample,}
export $(cat docker/.env | xargs)

3. Build Project:

go build

4. Run Application:

./gin-demo

Or run with docker:

cd docker
docker-compose up --build

Now your api is running on 3000 port (if you use docker then port is 3001).

About

No description or website provided.

Topics

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors