{"id":26831338,"url":"https://github.com/benjaminbwright/full-stack-flask-template","last_synced_at":"2025-07-13T20:04:21.105Z","repository":{"id":281917947,"uuid":"946792095","full_name":"benjaminbwright/full-stack-flask-template","owner":"benjaminbwright","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-11T20:04:56.000Z","size":9615,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T14:35:00.611Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benjaminbwright.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":"2025-03-11T17:21:37.000Z","updated_at":"2025-03-11T20:04:59.000Z","dependencies_parsed_at":"2025-03-11T21:29:51.670Z","dependency_job_id":null,"html_url":"https://github.com/benjaminbwright/full-stack-flask-template","commit_stats":null,"previous_names":["benjaminbwright/full-stack-flask-template"],"tags_count":0,"template":true,"template_full_name":"benjaminbwright/full-stack-fastapi-template","purl":"pkg:github/benjaminbwright/full-stack-flask-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjaminbwright%2Ffull-stack-flask-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjaminbwright%2Ffull-stack-flask-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjaminbwright%2Ffull-stack-flask-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjaminbwright%2Ffull-stack-flask-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benjaminbwright","download_url":"https://codeload.github.com/benjaminbwright/full-stack-flask-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjaminbwright%2Ffull-stack-flask-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265198348,"owners_count":23726447,"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":[],"created_at":"2025-03-30T14:32:12.597Z","updated_at":"2025-07-13T20:04:21.084Z","avatar_url":"https://github.com/benjaminbwright.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Full Stack Flask Template\n\nA modern full-stack web application template using Flask for the backend API and React for the frontend.\n\n## Features\n\n- **Backend**: Flask with ASGI support (via Uvicorn)\n- **Frontend**: React with TypeScript\n- **API**: RESTful API design\n- **Development**: Hot-reload for both frontend and backend\n- **Docker**: Containerized development environment with Docker Compose\n\n## Getting Started\n\n### Prerequisites\n\n- Docker and Docker Compose (for containerized development)\n  OR\n- Python 3.8+\n- Node.js 14+\n- npm or yarn\n\n### Option 1: Docker Development Setup (Recommended)\n\n1. Clone the repository:\n\n```bash\ngit clone \u003cyour-repo-url\u003e\ncd full-stack-flask-template\n```\n\n2. Start the development environment:\n\n```bash\ndocker-compose up\n```\n\nThis will start both the frontend and backend services:\n\n- Frontend will be available at http://localhost:3000\n- Backend API will be available at http://localhost:8000\n\n### Option 2: Manual Setup\n\n1. Clone the repository:\n\n```bash\ngit clone \u003cyour-repo-url\u003e\ncd full-stack-flask-template\n```\n\n2. Set up the backend:\n\n```bash\npython -m venv venv\nsource venv/bin/activate  # On Windows use: venv\\Scripts\\activate\npip install -r requirements.txt\n```\n\n3. Set up the frontend:\n\n```bash\ncd frontend\nnpm install\n```\n\n#### Running Manually\n\n1. Start the backend (from project root):\n\n```bash\npython backend/app.py\n```\n\nThe API will be available at http://localhost:8000\n\n2. Start the frontend (in a new terminal):\n\n```bash\ncd frontend\nnpm start\n```\n\nThe web application will be available at http://localhost:3000\n\n## Project Structure\n\n```\n.\n├── backend/\n│   ├── app.py          # Main Flask application\n│   ├── todo_routes.py  # API routes\n│   └── Dockerfile      # Backend container configuration\n├── frontend/\n│   ├── src/\n│   │   ├── components/\n│   │   └── App.tsx\n│   ├── package.json\n│   └── Dockerfile      # Frontend container configuration\n├── docker-compose.yml  # Docker Compose configuration\n└── requirements.txt    # Python dependencies\n```\n\n## Docker Development Features\n\n- Hot-reload enabled for both frontend and backend\n- Volume mounts for live code updates\n- Isolated development environment\n- No need to install Python or Node.js locally\n- Consistent development environment across team members\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjaminbwright%2Ffull-stack-flask-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenjaminbwright%2Ffull-stack-flask-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjaminbwright%2Ffull-stack-flask-template/lists"}