You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert

1
+
# README - Devflow
2
2
3
-
*A Next.js 16 template with modern tooling and CI/CD automation. Code quality checks (linting, formatting, type checking, testing) run via Lefthook locally and GitHub Actions on PRs. Dependency updates automated via Dependabot. Deployments handled by Vercel: Preview for PRs, Production for main. Assumes Claude Code.*
<img src="x_docs/images/app_screenshot.jpg" alt="Homepage in light and dark modes with UI library guidance" width="750">
8
-
</a>
9
-
<p><em>Template homepage with theming setup — UI component library still needed</em></p>
10
-
</div>
3
+
A community-driven platform for asking and answering programming questions. Get help, share knowledge, and collaborate with other developers from around the world.
11
4
12
5
---
13
6
14
-
## 🎯 Use This Template
15
-
16
-
1. Follow [x_docs/project-setup.md](x_docs/project-setup.md) to clone, set up GitHub, set up Vercel.
3. Ngrok gives a URL to connect from phone (shareable)
217
-
```
218
-
219
-
(2) How Vitest Pieces Work Together
220
-
221
-
```markdown
222
-
1. When you run npm test, Vitest loads vitest.config.ts
223
-
2. The config tells Vitest to use jsdom and load `vitest.setup.ts`
224
-
3. Your test files can use global test functions and extended matchers
225
-
4. The @/* import alias works in tests thanks to `vite-tsconfig-paths`
226
-
5. React components are compiled with React Compiler (matching prod)
227
-
```
61
+
(1) Use Ngrok to Test App From Phone: (Terminal 1: `npm run dev`) + (Terminal 2: `ngrok http 3000`)
228
62
229
-
(3) GitHub - A branch protection ruleset to be setup to protect main. Incldues checks for GitHub workflow jobs to pass before merging PR to main. See [x_docs/project-setup.md](x_docs/project-setup.md).
63
+
(2) GitHub Action - A branch protection ruleset exists to protect main. Incldues checks for GitHub workflow jobs to pass before merging PR to main. See [x_docs/project-setup.md](x_docs/project-setup.md) for config details.
230
64
231
-
(4) Vercel For Deploys - When you raise a PR it automatically deploys to Vercel Preview and Playwright e2e tests run on that too in addition to GitHub servers. When you merge the PR into main, you are deploying to Vercel prod. See [x_docs/project-setup.md](x_docs/project-setup.md).
65
+
(3) Vercel For Deploys - When you raise a PR it automatically deploys to Vercel Preview and Playwright e2e tests run on that too in addition to GitHub servers. When you merge the PR into main, you are deploying to Vercel prod. See [x_docs/project-setup.md](x_docs/project-setup.md) for config details.
0 commit comments