An open API service indexing awesome lists of open source software.

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

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).