{"id":21290304,"url":"https://github.com/akiacode/python-react-boilerplate","last_synced_at":"2026-02-03T01:42:20.398Z","repository":{"id":253939721,"uuid":"844601743","full_name":"AkiaCode/python-react-boilerplate","owner":"AkiaCode","description":"Boilerplate for Python (Flask \u0026 FastAPI) + React Web App + TypeScript","archived":false,"fork":false,"pushed_at":"2025-08-02T13:30:35.000Z","size":244,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-14T18:55:13.144Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AkiaCode.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":"2024-08-19T15:36:37.000Z","updated_at":"2025-08-02T13:30:39.000Z","dependencies_parsed_at":"2024-08-20T13:41:34.998Z","dependency_job_id":null,"html_url":"https://github.com/AkiaCode/python-react-boilerplate","commit_stats":null,"previous_names":["akiacode/python-react-boilerplate"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/AkiaCode/python-react-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkiaCode%2Fpython-react-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkiaCode%2Fpython-react-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkiaCode%2Fpython-react-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkiaCode%2Fpython-react-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AkiaCode","download_url":"https://codeload.github.com/AkiaCode/python-react-boilerplate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkiaCode%2Fpython-react-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29026517,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T01:41:29.514Z","status":"ssl_error","status_checked_at":"2026-02-03T01:41:09.247Z","response_time":58,"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":[],"created_at":"2024-11-21T12:50:31.320Z","updated_at":"2026-02-03T01:42:20.366Z","avatar_url":"https://github.com/AkiaCode.png","language":"JavaScript","readme":"# python-react-boilerplate\nThis boilerplate project demonstrates how to render ReactJS components in a Flask \u0026 FastAPI web application using Jinja2.\n\n## Overview\nThis project demonstrates how to integrate ReactJS with a Flask \u0026 FastAPI web application using Jinja2. The core concept is to copy the static build output from the ReactJS project into the static resources folder of the Spring Boot application. React components are rendered by attaching multiple root elements to corresponding HTML DOM nodes, each identified by an `section-*` prefix.\n\n## Technologies\n* Backend\n  * Flask\n  * FastAPI\n  * Jinja2\n* Frontend\n  * React\n  * TypeScript\n\n## Requirements\n* Python 3.10+\n* Node 20+\n\n## Project Structure\n* react-common\n  * A common React project that copies its build output to both `flask-react` and `fastapi-react`.\n* flask-react\n  * A Python-based Flask project that uses the build output from `react-common`.\n* fastapi-react\n  * A Python-based FlaskAPI project that uses the build output from `react-common`.\n\n## Run Instruction\n### Overview\nYou can run either the Flask or FastAPI project, depending on your preference.\n\n### Frontend\n```bash\nnpm install -g yarn # If yarn is not installed\n\ncd react-common\nyarn install\nyarn build\n```\n\n### Backend Environment Setup (Optional)\n```bash\npython3 -m venv .venv\nsource .venv/bin/activate\n```\n\n### Backend (Flask)\n* Default server port: 5000\n\n```bash\ncd flask-react\npip3 install -r requirements.txt\npython3 main.py\n```\n\n### Backend (FastAPI)\n* Default server port: 5000\n\n```bash\ncd fastapi-react\npip3 install -r requirements.txt\npython3 main.py\n```\n\n## Related Projects\n* https://github.com/rheech/spring-boot-react-boilerplate","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakiacode%2Fpython-react-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakiacode%2Fpython-react-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakiacode%2Fpython-react-boilerplate/lists"}