{"id":23004494,"url":"https://github.com/kafkasl/tir-library","last_synced_at":"2025-06-30T01:32:29.939Z","repository":{"id":70774254,"uuid":"191428461","full_name":"kafkasl/tir-library","owner":"kafkasl","description":"Section of Tir's Library containing book entries and reviews from registered scholars.","archived":false,"fork":false,"pushed_at":"2019-08-01T14:34:28.000Z","size":222,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-04-28T05:16:41.334Z","etag":null,"topics":[],"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/kafkasl.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2019-06-11T18:25:46.000Z","updated_at":"2024-06-19T12:17:14.278Z","dependencies_parsed_at":"2023-04-24T13:03:49.723Z","dependency_job_id":null,"html_url":"https://github.com/kafkasl/tir-library","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kafkasl/tir-library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kafkasl%2Ftir-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kafkasl%2Ftir-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kafkasl%2Ftir-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kafkasl%2Ftir-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kafkasl","download_url":"https://codeload.github.com/kafkasl/tir-library/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kafkasl%2Ftir-library/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262693243,"owners_count":23349701,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-12-15T07:18:45.085Z","updated_at":"2025-06-30T01:32:29.863Z","avatar_url":"https://github.com/kafkasl.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tir-library\nSection of Tir's Library containing book entries and reviews from registered scholars.\n\n\n\n### Build\n\nTo build the application binary just issue:\n\n`go build -o bin/tir-library -v .`\n\n### Run\n\nIn order to run the application you need to define your Postgres configuration in a `.env` at the root of the project. \nIt is recommended to copy the file `sample.env` and replace the values. Testing environmnet deletes all DB entries\nbefore running the application so be careful not to use it with a production / development DB.\n\nOnce you have the `.env` run with:\n\n`./bin/tir-library`\n\n\n\n### Tests\n\n#### Postman\n\nCurrently tirlib is tested against postman requests collection. You can run them with the provided script:\n\n`./run_tests.sh`\n\nor manually if the application is already running:\n\n`newman run tests/tir-library.postman_collection.json`\n\nRequires newman installed: (`npm install -g newman`):\n\n\n#### Golang\n\nGolang tests are under construction. They must be improved to use the auth middleware as currently they bypass it. \nMoreover, the access to the DB from concurrent tests are not dealt with. \n\n### API Documentation\n\nThe REST API documentation can be found [here](tirlibrary.docs.apiary.io).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkafkasl%2Ftir-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkafkasl%2Ftir-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkafkasl%2Ftir-library/lists"}