{"id":20581229,"url":"https://github.com/jonathas/random-cats-api","last_synced_at":"2026-04-21T07:33:50.075Z","repository":{"id":203850556,"uuid":"710536959","full_name":"jonathas/random-cats-api","owner":"jonathas","description":"A random cats REST API in NestJS","archived":false,"fork":false,"pushed_at":"2023-10-26T23:02:37.000Z","size":304,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-06T12:16:35.065Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonathas.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}},"created_at":"2023-10-26T22:48:06.000Z","updated_at":"2023-10-26T22:54:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb88a8d4-7ec0-4b13-a394-8f45d17e391b","html_url":"https://github.com/jonathas/random-cats-api","commit_stats":null,"previous_names":["jonathas/random-cats-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jonathas/random-cats-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Frandom-cats-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Frandom-cats-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Frandom-cats-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Frandom-cats-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonathas","download_url":"https://codeload.github.com/jonathas/random-cats-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Frandom-cats-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32082372,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T06:27:27.065Z","status":"ssl_error","status_checked_at":"2026-04-21T06:27:21.250Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-11-16T06:27:32.216Z","updated_at":"2026-04-21T07:33:50.044Z","avatar_url":"https://github.com/jonathas.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Random Cats API\n\n![OK cat](docs/images/200.jpg \"OK cat\")\n\nThis is a REST API in NestJS where you can:\n\n- Create a cat\n- Rate a cat\n- Fetch all cats\n- Fetch a random cat\n- Import a list of cats from a url into the DB\n\nExtra features:\n\n- API Key authentication\n- AWS S3 integration\n\n## Tech\n\n- NestJS\n- TypeScript\n- PostgreSQL\n- Docker\n- Localstack (For local AWS S3 support)\n\n## Installation\n\n```bash\n$ npm i\n```\n\n## Running the project\n\n1) Copy the .sample.env file to a .env file and set your API_KEY value there\n2) Start the containers:\n\n```bash\n$ docker compose -f ./resources/docker-compose.yml up \n```\n\n3) Start the API:\n\n```bash\n# development\n$ npm run start\n\n# watch mode\n$ npm run start:dev\n\n# production mode\n$ npm run start:prod\n```\n\n## Documentation\n\n### Compodoc\n\nYou can have a good overview about the project by running Compodoc:\n\n```bash\n$ npm run compodoc\n```\n\nThis will generate a directory called \"documentation\" with several files, so you can open the index.html file on your browser.\n\n### Postman collection\n\nA [Postman](https://www.postman.com/downloads/) collection can be found inside of the docs directory. You can just import it to Postman and start using it to interact with the API.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathas%2Frandom-cats-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathas%2Frandom-cats-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathas%2Frandom-cats-api/lists"}