{"id":21722545,"url":"https://github.com/mkloz/swapi","last_synced_at":"2026-05-10T05:15:00.198Z","repository":{"id":184251485,"uuid":"632073644","full_name":"mkloz/swapi","owner":"mkloz","description":"Nestjs backend(starwars api)","archived":false,"fork":false,"pushed_at":"2023-04-24T16:54:44.000Z","size":145,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T22:18:55.391Z","etag":null,"topics":["api","backend","nestjs","rest","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mkloz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-04-24T16:49:23.000Z","updated_at":"2024-08-21T11:21:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"3746237a-2a20-4ae3-a682-cbbbe690a9b2","html_url":"https://github.com/mkloz/swapi","commit_stats":null,"previous_names":["mkloz/swapi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mkloz/swapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkloz%2Fswapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkloz%2Fswapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkloz%2Fswapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkloz%2Fswapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkloz","download_url":"https://codeload.github.com/mkloz/swapi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkloz%2Fswapi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267709624,"owners_count":24131924,"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-07-29T02:00:12.549Z","response_time":2574,"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":["api","backend","nestjs","rest","typescript"],"created_at":"2024-11-26T02:29:41.277Z","updated_at":"2026-05-10T05:15:00.155Z","avatar_url":"https://github.com/mkloz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"http://nestjs.com/\" target=\"blank\"\u003e\u003cimg src=\"https://nestjs.com/img/logo-small.svg\" width=\"200\" alt=\"Nest Logo\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n  \u003cp align=\"center\"\u003eStarwars API like \u003ca href=\"https://swapi.dev\" target=\"_blank\"\u003eSwapi\u003c/a\u003e on NestJS\u003c/p\u003e\n\n## Description\n\nAPI where saved all information about starwars.\n\n## Installation\n\n```bash\n$ npm install\n```\n\n## Running the app\n\nSet all environment variable(.env file in the root of project) and constants. Then run the application\n\n```bash\n# Building\n$ npm run build\n# Up migrations\n$ npm run migration:run\n# Seeding\n$ npm run seed:run\n# After that you can start\n$ npm run start\n```\n\nStart with docker compose\nSet all variables in .env file(instead DB_HOST=localhost you should use DB_HOST=mysql)\n\n```bash\n# Building images\n$ docker-compose build\n# Start app\n$ docker-compose up\n\n```\n\nIf you want to check out a state of program -\u003e /api/health (only for admins)\n\n## Documentation\n\nSwagger is used here. Api documentation is located on route `/api/docs`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkloz%2Fswapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkloz%2Fswapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkloz%2Fswapi/lists"}