{"id":15690913,"url":"https://github.com/jesufemi-o/lendr","last_synced_at":"2025-05-08T00:32:32.978Z","repository":{"id":45233172,"uuid":"441515656","full_name":"JesuFemi-O/lendr","owner":"JesuFemi-O","description":"A simple end to end consumer lending decision engine powered by Google Cloud Platform (firebase hosting and cloudrun)","archived":false,"fork":false,"pushed_at":"2021-12-29T23:00:12.000Z","size":2367,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-26T06:11:24.079Z","etag":null,"topics":["docker","fastapi","firebase","lending","machine-learning","python"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/JesuFemi-O.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}},"created_at":"2021-12-24T16:55:17.000Z","updated_at":"2022-08-16T11:47:52.000Z","dependencies_parsed_at":"2022-09-06T02:00:20.645Z","dependency_job_id":null,"html_url":"https://github.com/JesuFemi-O/lendr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JesuFemi-O%2Flendr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JesuFemi-O%2Flendr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JesuFemi-O%2Flendr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JesuFemi-O%2Flendr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JesuFemi-O","download_url":"https://codeload.github.com/JesuFemi-O/lendr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243059752,"owners_count":20229628,"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","fastapi","firebase","lending","machine-learning","python"],"created_at":"2024-10-03T18:17:31.663Z","updated_at":"2025-03-11T15:32:05.556Z","avatar_url":"https://github.com/JesuFemi-O.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Firebase + Cloudrun + Machine learning\n\nA simple loan eligibility decision system developed with fastapi and scikit learn for the server side and HTML, CSS and Javascript for the client side\n\nThe Backend is deployed on google cloud run while the static frontend is served with firebase hosting.\n\n# How to serve the frontend locally\n- install firebase tools\n~~~\nnpm install -g firebase-tools\n~~~\n\n- serve on localhost\n~~~\nfirebase serve\n~~~\n\n# How to serve the backend locally [Docker]\n\n- navigate to the server folder and create a .env file and enter the following values\n\n~~~\nIS_DEBUG = False\nAPI_KEY = \u003cENTER AN API KEY OF YOUR CHOICE\u003e\nDEFAULT_MODEL_PATH=./assets/finalized_model.sav\n~~~\n\nyou can simply generate an api key using the python repl as follows:\n\n~~~python\nimport uuid\nprint(str(uuid.uuid4()))\n~~~\n\n- run the shell scripts as follows:\n~~~\nchmod +x run.sh\nchmod +x build.sh\n~~~\n\n- build the image\n~~~\n./build.sh\n~~~\n\n- serve the api\n~~~\n./run.sh\n~~~\n\n- navigate to the api documentation on localhost:8080/docs\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjesufemi-o%2Flendr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjesufemi-o%2Flendr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjesufemi-o%2Flendr/lists"}