https://github.com/v1adhope/flights
https://github.com/v1adhope/flights
docker-compose hr-tasks postgresql swagger testcontainers
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/v1adhope/flights
- Owner: v1adhope
- Created: 2024-10-17T09:57:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-21T17:51:23.000Z (over 1 year ago)
- Last Synced: 2025-08-01T11:02:00.681Z (11 months ago)
- Topics: docker-compose, hr-tasks, postgresql, swagger, testcontainers
- Language: Go
- Homepage:
- Size: 162 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Swagger usage
http://0.0.0.0:8081/v1/swagger/index.html
# PgAdmin 4 usage
http://0.0.0.0:8082
Username: test@mail.com
Password: admin
# Structure
```bash
.
├── bin
│ └── service_start.sh
├── cmd
│ └── main.go
├── compose.yml
├── db
│ ├── flights_schema.pdf
│ └── migrations
│ ├── 000001_init.down.sql
│ ├── 000001_init.up.sql
│ ├── 000002_init.down.sql
│ ├── 000002_init.up.sql
│ ├── 000003_init.down.sql
│ ├── 000003_init.up.sql
│ ├── 000004_init.down.sql
│ ├── 000004_init.up.sql
│ ├── 000005_init.down.sql
│ └── 000005_init.up.sql
├── dockerfile
├── docs
│ ├── docs.go
│ ├── swagger.json
│ └── swagger.yaml
├── go.mod
├── go.sum
├── internal
│ ├── configs
│ │ └── config.go
│ ├── controllers
│ │ └── http
│ │ └── v1
│ │ ├── document.go
│ │ ├── errors.go
│ │ ├── general.go
│ │ ├── interfaces.go
│ │ ├── passenger.go
│ │ ├── report.go
│ │ ├── router.go
│ │ ├── ticket.go
│ │ ├── v1_test.go
│ │ └── validations.go
│ ├── entities
│ │ ├── documents.go
│ │ ├── errors.go
│ │ ├── general.go
│ │ ├── passenger.go
│ │ ├── report.go
│ │ └── ticket.go
│ ├── testhelpers
│ │ ├── postgres.go
│ │ └── utils.go
│ └── usecases
│ ├── constructor.go
│ ├── document.go
│ ├── infrastructure
│ │ └── repository
│ │ ├── constructor.go
│ │ ├── document.go
│ │ ├── dtos.go
│ │ ├── errors.go
│ │ ├── passenger.go
│ │ ├── readers.go
│ │ ├── report.go
│ │ └── ticket.go
│ ├── interfaces.go
│ ├── passenger.go
│ ├── report.go
│ └── ticket.go
├── pkg
│ ├── httpsrv
│ │ └── httpsrv
│ │ ├── httpsrv.go
│ │ └── opts.go
│ ├── logger
│ │ ├── logger.go
│ │ └── opts.go
│ └── postgresql
│ ├── opts.go
│ └── postgresql.go
├── readme.md
├── scripts
│ └── tasks
│ ├── migrate_create.sh
│ ├── migrate_down.sh
│ ├── migrate_force.sh
│ └── migrate_up.sh
└── taskfile.yaml
```