{"id":21097339,"url":"https://github.com/dl-nft-books/network-svc","last_synced_at":"2026-05-19T11:32:43.322Z","repository":{"id":148774038,"uuid":"608583300","full_name":"dl-nft-books/network-svc","owner":"dl-nft-books","description":"Service for managing networks and displaying their info","archived":false,"fork":false,"pushed_at":"2023-04-18T08:40:38.000Z","size":4301,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-14T07:25:36.415Z","etag":null,"topics":["backend","blockchain","golang","json-api","psql"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dl-nft-books.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-02T10:16:22.000Z","updated_at":"2023-03-03T08:20:47.000Z","dependencies_parsed_at":"2023-05-28T22:15:14.329Z","dependency_job_id":null,"html_url":"https://github.com/dl-nft-books/network-svc","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dl-nft-books/network-svc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dl-nft-books%2Fnetwork-svc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dl-nft-books%2Fnetwork-svc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dl-nft-books%2Fnetwork-svc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dl-nft-books%2Fnetwork-svc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dl-nft-books","download_url":"https://codeload.github.com/dl-nft-books/network-svc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dl-nft-books%2Fnetwork-svc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33214329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T07:54:09.561Z","status":"ssl_error","status_checked_at":"2026-05-19T07:54:08.508Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","blockchain","golang","json-api","psql"],"created_at":"2024-11-19T22:47:22.870Z","updated_at":"2026-05-19T11:32:38.313Z","avatar_url":"https://github.com/dl-nft-books.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Network-svc\r\n\r\n## Description\r\n\r\nService for managing networks and displaying their info\r\n\r\n## Install\r\n\r\n  ```bash\r\n  git clone network-svc\r\n  cd \r\n  go build main.go\r\n  export KV_VIPER_FILE=./config.yaml\r\n  ./main migrate up\r\n  ./main run service\r\n  ```\r\n\r\n## Documentation\r\n\r\nWe do use openapi:json standard for API. We use swagger for documenting our API.\r\n\r\nTo open online documentation, go to [swagger editor](http://localhost:8080/swagger-editor/) here is how you can start it\r\n```bash\r\n  cd docs\r\n  npm install\r\n  npm start\r\n```\r\nTo build documentation use `npm run build` command,\r\nthat will create open-api documentation in `web_deploy` folder.\r\n\r\nTo generate resources for Go models run `./generate.sh` script in root folder.\r\nuse `./generate.sh --help` to see all available options.\r\n\r\n\r\n## Running from docker \r\n  \r\nMake sure that the docker is installed.\r\nUse `docker run ` with `-p 8080:80` to expose port 80 to 8080\r\n\r\n```bash\r\ndocker build -t network-svc .\r\ndocker run -e KV_VIPER_FILE=/config.yaml network-svc\r\n```\r\n\r\n## Running from Source\r\n\r\n* Set up environment value with config file path `KV_VIPER_FILE=./config.yaml`\r\n* Provide valid config file\r\n* Launch the service with `migrate up` command to create database schema\r\n* Launch the service with `run service` command\r\n\r\n\r\n### Database\r\nFor services, we do use ***PostgresSQL*** database. \r\nYou can [install it locally](https://www.postgresql.org/download/) or use [docker image](https://hub.docker.com/_/postgres/).\r\n\r\n\r\n## Contacts\r\n\r\nAnastasiia Lishchenko is responsible for this service. Can be contacted via the _Telegram_ (`@Anastasiia_Lishchenko`)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdl-nft-books%2Fnetwork-svc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdl-nft-books%2Fnetwork-svc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdl-nft-books%2Fnetwork-svc/lists"}