Migrate Flask React template into Forge

This commit is contained in:
rob
2026-11-17 19:39:11 +00:00
parent bc6b6d26f1
commit 444406d2fc
109 changed files with 9427 additions and 13 deletions
@@ -0,0 +1,3 @@
# Current state
__PROJECT_NAME__ was generated from the Forge Flask/React template. Generation copied the files; dependency installation, tests, migrations, runtime health, and external services are unverified for this project. Inspect actual code/configuration and update this record after validation.
@@ -0,0 +1,3 @@
# Decisions
No product profile, owner, brand, email provider, repository provider, or hosting decision has been recorded yet. Preserve accepted decisions here with date, rationale, and consequences.
@@ -0,0 +1,3 @@
# Handoff
__PROJECT_NAME__ was generated from a Flask/React foundation. No product decisions or runtime validation are implied by generation. Read `AGENTS.md` and the context files, select a profile explicitly, then run the commands in `README.md` and record actual results. Keep secrets outside Git.
@@ -0,0 +1,7 @@
# Optional services
Local development needs no GitHub, production host, SWAG network, Resend account, or Cloudflare routing. Email delivery starts disabled. To enable it, choose and verify a project-specific sender/domain and contact destination, set `RESEND_API_KEY`, `EMAIL_FROM`, `CONTACT_EMAIL`, and `EMAIL_DELIVERY_ENABLED=true` in an untracked environment, then test account and contact flows. The code currently implements Resend outbound delivery; inbound routing is a separate operator choice.
`docker-compose.yml` provides MySQL, API, and nginx services with loopback diagnostic ports. It does not require an external reverse-proxy network. `ops/swag/` includes an optional Compose overlay and proxy sample for projects using SWAG; adapt networking and TLS separately before hosting. The Forge package retains a GitHub Actions CI/deployment example under `optional/github/`, but generation does not install an active workflow. Copying or enabling any deployment workflow is a separate project decision. Never use `.env.example` placeholder passwords or secrets in production.
Before production, choose a host and repository provider, configure external secrets, verify migrations/backup/rollback, review authentication and email policy, and run the project's required tests. Generation performs none of these actions.
@@ -0,0 +1,3 @@
# Project overview
__PROJECT_NAME__ is a newly generated Flask/React application foundation. Product purpose, intended users, ownership, branding, and deployment target are not yet selected. React/Vite lives under `react/`; Flask/SQLAlchemy and migrations live under `api/`. Development defaults to SQLite and disabled email. MySQL, Docker/nginx, Resend outbound email, SWAG, and GitHub automation are optional project choices. Generated code has no Forge runtime dependency.
@@ -0,0 +1,6 @@
# Tasks
## Initial project definition — __PROJECT_NAME__
Status: Planned; implementation requires owner acceptance.
Define purpose, users, ownership, branding, business/personal profile, contributor permissions, testing expectations, and deployment expectations. Validate backend/frontend tests and migrations in this project. Email and hosting integrations remain optional; do not publish or deploy during initial setup.