{"id":20185052,"url":"https://github.com/hasferrr/ml-deployment-test","last_synced_at":"2026-04-11T15:38:38.615Z","repository":{"id":207299851,"uuid":"718916600","full_name":"hasferrr/ml-deployment-test","owner":"hasferrr","description":"Deploying Machine Learning models with Python-Flask on Docker containers on Cloud Run and connecting them to React App via API.","archived":false,"fork":false,"pushed_at":"2023-12-02T17:12:35.000Z","size":1109,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-13T17:49:29.016Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/hasferrr.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}},"created_at":"2023-11-15T03:40:11.000Z","updated_at":"2024-11-20T19:29:00.000Z","dependencies_parsed_at":"2023-12-02T18:35:57.097Z","dependency_job_id":null,"html_url":"https://github.com/hasferrr/ml-deployment-test","commit_stats":null,"previous_names":["hasferrr/ml-deployment-test"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasferrr%2Fml-deployment-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasferrr%2Fml-deployment-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasferrr%2Fml-deployment-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasferrr%2Fml-deployment-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hasferrr","download_url":"https://codeload.github.com/hasferrr/ml-deployment-test/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241622594,"owners_count":19992501,"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","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":["docker","python","react","tensorflow"],"created_at":"2024-11-14T03:10:58.469Z","updated_at":"2025-12-31T01:05:02.840Z","avatar_url":"https://github.com/hasferrr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Test ML-Backend-Frontend\n\n## Development mode\n\nInstall dependency:\n\n```bash\ncd frontend\nnpm install\n\ncd ../backend\npip install -r requirements.txt\n```\n\nRun:\n\n```bash\nnpm run dev\nflask run\n```\n\n## Production mode (Docker)\n\n1. Change `Dockerfile`\n1. Execute docker compose\n\n```bash\ncd frontend\ndocker compose -f docker-compose.yml up -d\n\ncd ../backend\ndocker compose -f docker-compose.yml up -d\n```\n\nStops and removes the containers, services, and associated volumes\n\n```bash\ndocker compose -f docker-compose.yml down --volumes\n```\n\n## Production mode (deploy container image to Cloud Run)\n\n1. Change project ID, region, image name, and other specification first on the `build.sh`, `cloudbuild.yaml`, and `Dockerfile`\n1. Create Docker repository in the Artifact Registry\n1. Execute the bash script\n\n```bash\ncd frontend\nchmod +x build.sh\n./build.sh\n\ncd ../backend\nchmod +x build.sh\n./build.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasferrr%2Fml-deployment-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhasferrr%2Fml-deployment-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasferrr%2Fml-deployment-test/lists"}