{"id":18725579,"url":"https://github.com/reljicd/flask-react-materialui","last_synced_at":"2026-04-15T10:37:24.323Z","repository":{"id":94100358,"uuid":"604633075","full_name":"reljicd/flask-react-materialui","owner":"reljicd","description":"Example project using two flask backends and React + Material UI frontend","archived":false,"fork":false,"pushed_at":"2023-02-21T14:24:01.000Z","size":243,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-19T18:48:58.906Z","etag":null,"topics":["docker","docker-compose","flask","flask-sqlalchemy","material-ui","postgres","postgresql","python","python3","react","reactjs","sqlalchemy"],"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/reljicd.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-21T13:25:55.000Z","updated_at":"2023-04-04T10:24:27.000Z","dependencies_parsed_at":"2023-03-13T17:07:37.549Z","dependency_job_id":null,"html_url":"https://github.com/reljicd/flask-react-materialui","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/reljicd/flask-react-materialui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reljicd%2Fflask-react-materialui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reljicd%2Fflask-react-materialui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reljicd%2Fflask-react-materialui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reljicd%2Fflask-react-materialui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reljicd","download_url":"https://codeload.github.com/reljicd/flask-react-materialui/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reljicd%2Fflask-react-materialui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31837683,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T10:26:52.245Z","status":"ssl_error","status_checked_at":"2026-04-15T10:26:51.649Z","response_time":63,"last_error":"SSL_read: 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","docker-compose","flask","flask-sqlalchemy","material-ui","postgres","postgresql","python","python3","react","reactjs","sqlalchemy"],"created_at":"2024-11-07T14:10:52.344Z","updated_at":"2026-04-15T10:37:24.302Z","avatar_url":"https://github.com/reljicd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Codebase Walkthrough\n\n### Code organization \n\n- **data** - raw data and sql scripts for making postgres tables and importing data from CSV into postgres.\n- **flask-datastore** - backend for serving data from postgres. Depends on **postgres**.\n- **flask-backend** - backend for serving data to frontend. Uses **flask-datastore** as data repository. Depends on **flask-datastore**.\n- **react-app** - React app for displaying results. Depends on **flask-backend**\n\n### Running the app\n\n```bash\ndocker-compose build\ndocker-compose up react_app\n```\n\nVisit \"http://localhost:8080\"\n\n### Running backend tests\n\nRun tests only after running previous docker compose run command to have all the dependencies started.\nTrying to run **flask-backend** tests without starting whole stack first, sometimes on the first run some tests that depend on **flask-datasore** will fail because of the race conditions. Just rerun command again.\n\n#### flask-datastore\n\n```bash\ndocker-compose -f docker-compose.yml run --rm  --entrypoint \"python -m pytest tests\" flask_datastore\n```\n\n#### flask-backend\n\n```bash\ndocker-compose -f docker-compose.yml run --rm  --entrypoint \"python -m pytest tests\" flask_backend\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freljicd%2Fflask-react-materialui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freljicd%2Fflask-react-materialui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freljicd%2Fflask-react-materialui/lists"}