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
Copy file name to clipboardExpand all lines: apps/web/content/docs/contributing.mdx
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,9 @@ title: Contributing
3
3
description: How to set up your environment and contribute changes
4
4
---
5
5
6
-
> **⚠️ Important**: Before starting work on any new features or major changes, please open an issue first to discuss your proposal and get approval. We don't want you to waste time on work that might not align with the project's direction or get merged.
7
-
6
+
<Callouttitle="Important"type="warn">
7
+
Before starting work on any new features or major changes, **please open an issue first to discuss your proposal and get approval.** We don't want you to **waste time** on work that might not align with the project's direction or get merged.
An opinionated CLI that scaffolds full‑stack TypeScript projects (frontend, backend, API, DB/ORM, auth, addons) with a clean monorepo. See the Quick Start on the docs home.
10
+
<Accordionstype="single">
11
+
<Accordion
12
+
id="faq-1"
13
+
title="What is Better‑T‑Stack?">
14
+
An opinionated CLI that scaffolds full‑stack TypeScript projects (frontend, backend, API, DB/ORM, auth, addons) with a clean monorepo. See the Quick Start on the docs home.
15
+
</Accordion>
10
16
11
-
### Do I need to install anything globally?
12
-
No. Run the CLI directly with your package manager. See Quick Start and the per‑command pages under CLI.
17
+
<Accordion
18
+
id="faq-2"
19
+
title="Do I need to install anything globally?">
20
+
No. Run the CLI directly with your package manager. See Quick Start and the per‑command pages under CLI.
21
+
</Accordion>
13
22
14
-
### Which package manager can I use?
15
-
`npm`, `pnpm`, or `bun` (all supported).
23
+
<Accordion
24
+
id="faq-3"
25
+
title="Which package manager can I use?">
26
+
`npm`, `pnpm`, or `bun` (all supported).
27
+
</Accordion>
16
28
17
-
### What Node.js version is required?
18
-
Node.js 20+ (LTS recommended).
29
+
<Accordion
30
+
id="faq-4"
31
+
title="What Node.js version is required?">
32
+
Node.js 20+ (LTS recommended).
33
+
</Accordion>
19
34
20
-
### Can I use this with an existing project?
21
-
The CLI is for new projects. You can migrate gradually or use `add` to extend a Better‑T‑Stack project.
35
+
<Accordion
36
+
id="faq-5"
37
+
title="Can I use this with an existing project?">
38
+
The CLI is for new projects. You can migrate gradually or use `add` to extend a Better‑T‑Stack project.
39
+
</Accordion>
22
40
23
-
### Where do generated files live?
24
-
See Project Structure for high‑level layouts (server‑based vs. Convex, optional web/native).
41
+
<Accordion
42
+
id="faq-6"
43
+
title="Where do generated files live?">
44
+
See Project Structure for high‑level layouts (server‑based vs. Convex, optional web/native)..
45
+
</Accordion>
46
+
</Accordions>
25
47
26
48
## Choosing options
27
49
28
-
### Does the CLI recommend a stack?
29
-
No. Pick what fits your needs. The CLI validates compatibility. See CLI (per command) and Compatibility for rules.
50
+
<Accordionstype="single">
51
+
<Accordion
52
+
id="faq-7"
53
+
title="Does the CLI recommend a stack?">
54
+
No. Pick what fits your needs. The CLI validates compatibility. See CLI (per command) and Compatibility for rules.
55
+
</Accordion>
30
56
31
-
### I’m unsure between tRPC and oRPC / Drizzle and Prisma
32
-
See Compatibility for guidance and constraints. Both pairs work well; choose based on team and hosting needs.
57
+
<Accordion
58
+
id="faq-8"
59
+
title="I’m unsure between tRPC and oRPC / Drizzle and Prisma">
60
+
See Compatibility for guidance and constraints. Both pairs work well; choose based on team and hosting needs.
61
+
</Accordion>
62
+
</Accordions>
33
63
34
64
## Common issues
35
65
36
-
### My mobile app can’t connect to the backend (Expo)
37
-
Set `EXPO_PUBLIC_SERVER_URL` in `apps/native/.env` to your machine IP (not `localhost`), check firewall, or try `npx expo start --tunnel`.
66
+
<Accordionstype="single">
67
+
<Accordion
68
+
id="faq-9"
69
+
title="My mobile app can’t connect to the backend (Expo)">
70
+
Set `EXPO_PUBLIC_SERVER_URL` in `apps/native/.env` to your machine IP (not `localhost`), check firewall, or try `npx expo start --tunnel`.
71
+
</Accordion>
38
72
39
-
### How do I disable telemetry?
40
-
Set `BTS_TELEMETRY_DISABLED=1` (shell env). For one run, prefix the command; to make it permanent, export it in your shell profile.
73
+
<Accordion
74
+
id="faq-10"
75
+
title="How do I disable telemetry?">
76
+
Set `BTS_TELEMETRY_DISABLED=1` (shell env). For one run, prefix the command; to make it permanent, export it in your shell profile.
0 commit comments