{"id":21512014,"url":"https://github.com/strvcom/ds-academy-api-titanic","last_synced_at":"2025-09-07T01:04:32.014Z","repository":{"id":97727339,"uuid":"556659627","full_name":"strvcom/ds-academy-api-titanic","owner":"strvcom","description":"Titanic survival model API; using FastAPI, and deployed on Heroku.","archived":false,"fork":false,"pushed_at":"2022-10-24T09:51:44.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-09-07T01:03:50.726Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ds-academy-api-titanic.herokuapp.com/docs","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/strvcom.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":"2022-10-24T09:10:35.000Z","updated_at":"2022-10-24T09:48:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"6b8f19f8-2cee-42aa-a8a0-6d2b38f9797e","html_url":"https://github.com/strvcom/ds-academy-api-titanic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/strvcom/ds-academy-api-titanic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strvcom%2Fds-academy-api-titanic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strvcom%2Fds-academy-api-titanic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strvcom%2Fds-academy-api-titanic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strvcom%2Fds-academy-api-titanic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strvcom","download_url":"https://codeload.github.com/strvcom/ds-academy-api-titanic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strvcom%2Fds-academy-api-titanic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273983110,"owners_count":25202095,"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-06T02:00:13.247Z","response_time":2576,"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":[],"created_at":"2024-11-23T22:25:35.768Z","updated_at":"2025-09-07T01:04:31.989Z","avatar_url":"https://github.com/strvcom.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"## :rocket: ds-academy-api-titanic\n\nTitanic survival model API.\nWritten in [FastAPI](https://fastapi.tiangolo.com/).\nDeployed on [Heroku](https://www.heroku.com/).\n\n## :pencil: Authors\n\n- [Jaroslav Bezdek](https://www.github.com/jardabezdek)\n- [Jan Maly](https://github.com/honzaMaly)\n\n## :construction_worker_man: Setup\n\n### Local development\n\n1. Intall requirements from `requirements-dev.txt`.\n\n\u003e The only difference between `requirements-dev.txt` and `requirements.txt` is\nthat in `requirements-dev.txt` there are two extra dependencies: `notebook`,\nand `streamlit`.\n\n### Docker for Heroku deployment\n\n\u003e Prerequisite for the following steps is to have\n[Docker Desktop](https://www.docker.com/products/docker-desktop/) installed\non our system.\n\n1. In project root directory, build the docker image\n`docker build -t ds-academy-api-titanic:latest .`\n1. Run the docker container with web server running inside:\n`docker run -i -e \"PORT=8000\" -p 8000:8000 ds-academy-api-titanic:latest`\n1. In logs, you should see a local URL address with running API.\n\n### Deployment to Heroku\n\nThe repository is ready to be deployed to Heroku without any extra hassle.\nFor deployment, follow these steps.\n\n1. Review the `heroku.yml` file to see configuration for Heroku.\n1. Create your user profile on [Heroku](https://www.heroku.com).\n1. [Install Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli) and\nlog in to your Heroku account: `heroku login`.\n1. [Create the app on Heroku](https://devcenter.heroku.com/articles/creating-apps).\n1. Set stack for the project to container: `heroku stack:set container -a=\u003cname of the app\u003e`.\n1. [Integrate the app with GitHub for auto-deployments](https://devcenter.heroku.com/articles/github-integration).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrvcom%2Fds-academy-api-titanic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrvcom%2Fds-academy-api-titanic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrvcom%2Fds-academy-api-titanic/lists"}