{"id":16422305,"url":"https://github.com/danielhasan1/star-wars-api","last_synced_at":"2026-05-16T19:37:16.621Z","repository":{"id":100887949,"uuid":"397633445","full_name":"danielhasan1/star-wars-api","owner":"danielhasan1","description":null,"archived":false,"fork":false,"pushed_at":"2021-08-18T19:00:53.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-24T17:50:38.354Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/danielhasan1.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":"2021-08-18T14:38:38.000Z","updated_at":"2021-08-18T19:00:56.000Z","dependencies_parsed_at":"2023-06-02T11:15:26.202Z","dependency_job_id":null,"html_url":"https://github.com/danielhasan1/star-wars-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danielhasan1/star-wars-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielhasan1%2Fstar-wars-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielhasan1%2Fstar-wars-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielhasan1%2Fstar-wars-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielhasan1%2Fstar-wars-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielhasan1","download_url":"https://codeload.github.com/danielhasan1/star-wars-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielhasan1%2Fstar-wars-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33116466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"ssl_error","status_checked_at":"2026-05-16T18:38:29.903Z","response_time":115,"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":[],"created_at":"2024-10-11T07:36:09.405Z","updated_at":"2026-05-16T19:37:16.595Z","avatar_url":"https://github.com/danielhasan1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# star-wars-rest-api\n# Pull directly from docker \nhttps://hub.docker.com/r/danielhasan1/starwars-project\n## Docker Setup:\n\n## NEW  \nPrerequisites - docker, docker-compose  \nJust run `docker-compose up` by copying the `docker-compose.yml` file in your local and you will get a running django server without having to perform any extra steps.  \nYou can customise the file as per your requirement like changing the mount folder name etc. There is no need to copy the project as image already contains the project.  \nHit `localhost:8000` with below listed resources in your browser.\n## OLD\nrun `docker pull danielhasan1/starwars-project`  \nafter pulling the image\nrun `docker run -tip8000:8000 --name starwars starwars-project /bin/bash`  \ninside docker container navigate to `/opt/star-wars-api/starWarsApi`  \nin base dir of django project run `gnicorn starWarsApi.wsgi:application --bind 0.0.0.0:8000`  \n\n## Or  \nOptionally you can also clone this project. \nCreate a virtual env  \nrun `pip install -r requirements.txt`  \ndirectly run django from `manage.py runserver`  \n\n# List of resources  \n`/api/planets/` -\u003e load all planets from star wars remote server (GET)  \n`/api/movies/` -\u003e load all movies from star wars remote server (GET)  \n`/api/planets/?q=Name` -\u003e search specefic planet on star wars remote server (GET)  \n`/api/savedtitles/` -\u003e if any planet name is saved then list of saved records will be returned. (GET or POST, ADD API)  \n`/api/savedtitle/pk/` -\u003e get or put specefic record via id or remove it (GET or PUT or DELETE)  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielhasan1%2Fstar-wars-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielhasan1%2Fstar-wars-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielhasan1%2Fstar-wars-api/lists"}