https://github.com/thrashy190/info-center-api
API Rest with gin-gonic (golang) and postgresql running in docker
https://github.com/thrashy190/info-center-api
api-rest clean-architecture docker gin-gonic go golang gorm postgresql
Last synced: 9 months ago
JSON representation
API Rest with gin-gonic (golang) and postgresql running in docker
- Host: GitHub
- URL: https://github.com/thrashy190/info-center-api
- Owner: Thrashy190
- Created: 2023-01-23T03:07:04.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-22T23:21:16.000Z (over 1 year ago)
- Last Synced: 2025-04-06T15:43:39.315Z (about 1 year ago)
- Topics: api-rest, clean-architecture, docker, gin-gonic, go, golang, gorm, postgresql
- Language: Go
- Homepage:
- Size: 8.66 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Api del centro de informacion
[App web repo](https://github.com/Thrashy190/info-center-app)
### Docker config create db
```bash
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
```bash
docker exec -it info-center-api psql -U postgres
```
### Run main
```bash
go run .
```