{"id":20003228,"url":"https://github.com/mbrsagor/product","last_synced_at":"2026-04-17T00:34:58.524Z","repository":{"id":193725988,"uuid":"331953222","full_name":"mbrsagor/product","owner":"mbrsagor","description":"FastAPI postgresql product backend web app","archived":false,"fork":false,"pushed_at":"2023-04-12T21:42:07.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-22T11:40:58.503Z","etag":null,"topics":["docker","fastapi","postgresql","python"],"latest_commit_sha":null,"homepage":"https://github.com/mbrsagor/product","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/mbrsagor.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":"2021-01-22T13:24:28.000Z","updated_at":"2023-09-09T15:20:00.000Z","dependencies_parsed_at":"2023-09-09T17:41:58.941Z","dependency_job_id":null,"html_url":"https://github.com/mbrsagor/product","commit_stats":null,"previous_names":["mbrsagor/product"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mbrsagor/product","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbrsagor%2Fproduct","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbrsagor%2Fproduct/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbrsagor%2Fproduct/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbrsagor%2Fproduct/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mbrsagor","download_url":"https://codeload.github.com/mbrsagor/product/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbrsagor%2Fproduct/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31910165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"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":["docker","fastapi","postgresql","python"],"created_at":"2024-11-13T05:24:43.267Z","updated_at":"2026-04-17T00:34:58.486Z","avatar_url":"https://github.com/mbrsagor.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Product App\n\n\u003e The project is basically fast api product app concept to develop microservice based backend web application.\n\nThe following steps will walk you thru installation on a Mac. Linux should be similar. It's also possible to develop on\na Windows machine, but I have not documented the steps. If you've developed the apps on Windows, you should have little\nproblem getting up and running.\n\n#### Setup:\n\n- python3.10\n- Fast API\n- Postgres\n\n###### Instructions:\n\n#### Setup: 1\n\n```bash\ngit clone https://github.com/mbrsagor/product.git\ncd product\nvirtualenv venv --python=python3.10\npip install -r requirements.txt\n```\n\n#### Setup: 2\n\nCreate database using PSQL command line\n\n```bash\nsudo -u postgres psql\n```\n\n```postgresql\nCREATE DATABASE product;\nCREATE USER dev WITH PASSWORD '12345';\nALTER ROLE dev SET client_encoding TO 'utf8';\nALTER ROLE dev SET default_transaction_isolation TO 'read committed';\nALTER ROLE dev SET timezone TO 'UTC';\nGRANT ALL PRIVILEGES ON DATABASE product TO dev;\n\\q\n```\n\n#### Setup: 3\n\nMigrate database:\n\n```bash\npython create_db.py\n```\n\n#### Setup: 4\n\nRun the product if everything is alright:\n\n```bash\nuvicorn main:app --host 0.0.0.0 --port 8000\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbrsagor%2Fproduct","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmbrsagor%2Fproduct","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbrsagor%2Fproduct/lists"}