https://github.com/opencars/koatuu
:world_map: Classification of objects of the administrative-territorial system of Ukraine
https://github.com/opencars/koatuu
json-api open-data
Last synced: 5 months ago
JSON representation
:world_map: Classification of objects of the administrative-territorial system of Ukraine
- Host: GitHub
- URL: https://github.com/opencars/koatuu
- Owner: opencars
- License: mit
- Created: 2019-07-28T21:06:28.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-16T18:57:20.000Z (over 1 year ago)
- Last Synced: 2025-05-30T06:25:47.874Z (about 1 year ago)
- Topics: json-api, open-data
- Language: Go
- Homepage:
- Size: 5.04 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# KOATUU
## Development
Build the binary
```sh
make
```
Start postgres
```sh
docker-compose up -Vd postgres
```
Run sql migrations
```sh
migrate -source file://migrations -database postgres://postgres:password@127.0.0.1/koatuu\?sslmode=disable up
```
Run the web server
```sh
./bin/server
```
## Test
Start postgres
```sh
docker-compose up -Vd postgres
```
Run sql migrations
```sh
migrate -source file://migrations -database postgres://postgres:password@127.0.0.1/koatuu\?sslmode=disable up
```
Run tests
```sh
go test -v ./...
```
## License
Project released under the terms of the MIT [license](./LICENSE).