{"id":22484758,"url":"https://github.com/rodolphocastro/deno-swapi","last_synced_at":"2026-02-17T20:33:52.640Z","repository":{"id":47607507,"uuid":"270141191","full_name":"rodolphocastro/deno-swapi","owner":"rodolphocastro","description":"A StarWars API written with Deno and powered by Oak and Svelte!","archived":false,"fork":false,"pushed_at":"2023-07-13T05:55:59.000Z","size":139,"stargazers_count":9,"open_issues_count":5,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-23T14:49:22.840Z","etag":null,"topics":["attricss","deno","docker","oak","restful-api","svelte","swapi"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rodolphocastro.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-06-07T00:07:54.000Z","updated_at":"2023-03-01T07:48:54.000Z","dependencies_parsed_at":"2024-12-06T17:11:45.110Z","dependency_job_id":"51ad8cc1-9cf9-41f7-98db-605afe732960","html_url":"https://github.com/rodolphocastro/deno-swapi","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/rodolphocastro/deno-swapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodolphocastro%2Fdeno-swapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodolphocastro%2Fdeno-swapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodolphocastro%2Fdeno-swapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodolphocastro%2Fdeno-swapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rodolphocastro","download_url":"https://codeload.github.com/rodolphocastro/deno-swapi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodolphocastro%2Fdeno-swapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29557343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T20:14:27.083Z","status":"ssl_error","status_checked_at":"2026-02-17T20:14:26.018Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["attricss","deno","docker","oak","restful-api","svelte","swapi"],"created_at":"2024-12-06T17:11:30.136Z","updated_at":"2026-02-17T20:33:47.622Z","avatar_url":"https://github.com/rodolphocastro.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 SWApi Deno\n\nA RESTful API containing Star Wars data!\n\n## 🏆 Acknowledgements\n\nThanks to [@phalt](https://github.com/phalt) for his work on the original [Swapi](https://github.com/phalt/swapi) and to [@juriy](https://github.com/Juriy) for his work on the current [Swapi.dev](https://swapi.dev).\n\n## 💻 Endpoints\n\nCurrently we support the following endpoints.\n\n### 🎥 Films / Movies\n\n+ All (`GET api/films`)\n+ Single (`GET api/films/{id}`)\n\n### 🧬 Species\n\n+ All (`GET api/species/`)\n+ Single (`GET api/species/{id}`)\n\n### 🚗 Vehicles\n\n+ All (`GET api/vehicles/`)\n+ Single (`GET api/vehicles/{id}`)\n\n### 🚀 Starships\n\n+ All (`GET api/starships/`)\n+ Single (`GET api/starships/{id}`)\n\n### 🌍 Planets\n\n+ All (`GET api/planets/`)\n+ Single (`GET api/planets/{id}`)\n\n### 🤼 People\n\n+ All (`GET api/people/`)\n+ Single (`GET api/people/{id}`)\n\n## 🌌 Portal\n\nCurrently we have a portal that presents some information about the API.\n\nThis portal is powered by [Svelte](https://github.com/sveltejs/svelte) and its code can be found on the `/portal` subdirectory!\n\n## ⏯ Running\n\n### ☁ Using in the Cloud\n\nCurrently we're hosted over at **Microsoft Azure**, via a [App Service Plan](https://swapi-deno.azurewebsites.net/) that pulls from our DockerHub.\n\n### 🐋 Using Docker\n\nIf you have what it takes to run **Docker** on your machine simply pull the image from [rodolphoalves/swapi-deno:latest](https://hub.docker.com/r/rodolphoalves/swapi-deno), map a port to the image's `8000` por and ta-da!\n\nThe following snippet might be of help: `docker run -p 8000:8000 rodolphoalves/swapi-deno:latest`\n\n### Requirements\n\nYou'll need two things to run this project:\n\n+ Deno (v1.0.0 or greater)\n+ NodeJS (v13.7.0 or greated)\n\n### Backend\n\nTo run the api (as of the latest version) run `deno run --unstable --allow-read --allow-net --allow-run .\\app.ts`.\n\nThis will:\n\n1. Spin up a rest API listening to port `:8000`\n2. Serve files from the `portal/public` folder on the `/` route\n\n### Frontend\n\n_From within the `portal` folder_\n\nTo build the frontend run `npm run build`. This will serve the required files to the `public` folder.\n\nTo run a developer version, with Hot Reload, run `npm run dev`. This will constantly serve files (as you modify components) on the `public` folder.\n\n\u003e Personal note: I'm usually using two terminals to run and debug this application. On one terminal I launch deno (the API itself) and on the other one I launch Svelte's Dev Server. Then I launch Firefox Developer edition and navigate to http://localhost:8000 and test it out.\n\n## 📝 Roadmap\n\n+ [X] Films endpoints\n+ [X] People endpoints\n+ [X] Planets endpoints\n+ [X] Species endpoints\n+ [X] Vehicles endpoints\n+ [X] Starships endpoints\n+ [X] Proper CORS configuration\n+ [ ] Rogue One data\n+ [ ] Solo data\n+ [ ] Episode VII data\n+ [ ] Episode VIII data\n+ [ ] Episode IX data\n+ [ ] Open API schema generation\n+ [ ] Improve data types\n+ [X] Docker Image\n+ [X] SPA to display the data\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodolphocastro%2Fdeno-swapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodolphocastro%2Fdeno-swapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodolphocastro%2Fdeno-swapi/lists"}