Skip to content

API Rest with gin-gonic (golang) and postgresql running in docker

Notifications You must be signed in to change notification settings

Thrashy190/info-center-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Api del centro de informacion

App web repo

Docker config create db

docker run --name info-center-api
    -e POSTGRES_PASSWORD=DB_PASSWORD
    -e POSTGRES_USER=DB_USER
    -e POSTGRES_DB=infocenter
    -p 55004:5432
    -d postgres

Execute docker postgresql

docker exec -it info-center-api psql -U postgres

Run main

go run .

Releases

No releases published

Packages

No packages published

Languages