{"id":21097350,"url":"https://github.com/dl-nft-books/doorman","last_synced_at":"2025-10-08T18:25:54.579Z","repository":{"id":148760040,"uuid":"608577205","full_name":"dl-nft-books/doorman","owner":"dl-nft-books","description":"Service for creating and validating authentication tokens","archived":false,"fork":false,"pushed_at":"2023-04-18T08:37:39.000Z","size":5054,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-14T07:25:38.830Z","etag":null,"topics":["backend","golang","jwt"],"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":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":"2023-03-02T10:00:39.000Z","updated_at":"2023-03-03T08:37:34.000Z","dependencies_parsed_at":"2023-05-28T21:15:39.624Z","dependency_job_id":null,"html_url":"https://github.com/dl-nft-books/doorman","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/dl-nft-books/doorman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dl-nft-books%2Fdoorman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dl-nft-books%2Fdoorman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dl-nft-books%2Fdoorman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dl-nft-books%2Fdoorman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dl-nft-books","download_url":"https://codeload.github.com/dl-nft-books/doorman/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dl-nft-books%2Fdoorman/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276374642,"owners_count":25631313,"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","status":"online","status_checked_at":"2025-09-22T02:00:08.972Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","golang","jwt"],"created_at":"2024-11-19T22:47:24.560Z","updated_at":"2025-09-22T08:48:40.494Z","avatar_url":"https://github.com/dl-nft-books.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# doorman\n\n## Description\n\nService for generating access and refresh JWTs\n\n## Install\n\n  ```bash\n  git clone doorman\n  cd \n  go build main.go\n  export KV_VIPER_FILE=./config.yaml\n  ./main migrate up\n  ./main run service\n  ```\n\n## Documentation\n\nWe do use openapi:json standard for API. We use swagger for documenting our API.\n\nTo open online documentation, go to [swagger editor](http://localhost:8080/swagger-editor/) here is how you can start it\n```bash\n  cd docs\n  npm install\n  npm start\n```\nTo build documentation use `npm run build` command,\nthat will create open-api documentation in `web_deploy` folder.\n\nTo generate resources for Go models run `./generate.sh` script in root folder.\nuse `./generate.sh --help` to see all available options.\n\n\n## Running from docker \n  \nMake sure that the docker is installed.\nUse `docker run ` with `-p 8080:80` to expose port 80 to 8080\n\n```bash\ndocker build -t doorman .\ndocker run -e KV_VIPER_FILE=/config.yaml doorman\n```\n\n## Running from Source\n\n* Set up environment value with config file path `KV_VIPER_FILE=./config.yaml`\n* Provide valid config file\n* Launch the service with `migrate up` command to create database schema\n* Launch the service with `run service` command\n\n\n### Database\nFor services, we do use ***PostgresSQL*** database. \nYou can [install it locally](https://www.postgresql.org/download/) or use [docker image](https://hub.docker.com/_/postgres/).\n\n## Contacts\n\nDmytro Zakharov is responsible for this service. Can be contacted via the _Telegram_ (`@ZamDimon`)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdl-nft-books%2Fdoorman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdl-nft-books%2Fdoorman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdl-nft-books%2Fdoorman/lists"}