tanstarter-monorepo
Vite+ monorepo template with ๐๏ธ TanStack Start, Better Auth, Drizzle ORM, shadcn/ui
ํ์ผ ํ์๊ธฐ
์ต์ข ๋ฒ์ ๋ค์ด๋ก๋ (.zip)- auth.md
- database.md
- tanstack-patterns.md
- testing.md
- typescript.md
- workflow.md
- pre-commit
- extensions.json
- mcp.json
- settings.json
- logged-out.smoke.spec.ts
- _headers
- robots.txt
- format-github-stars.test.ts
- format-github-stars.ts
- intro-page.tsx
- default-catch-boundary.tsx
- default-not-found.tsx
- sign-in-social-buttons.tsx
- sign-out-button.tsx
- theme-toggle.tsx
- index.tsx
- route.tsx
- route.tsx
- login.tsx
- route.tsx
- signup.tsx
- $.ts
- __root.tsx
- index.tsx
- router.tsx
- routeTree.gen.ts
- styles.css
- .env.example
- .gitignore
- components.json
- package.json
- playwright.config.ts
- tsconfig.json
- vite.config.ts
- functions.ts
- hooks.ts
- middleware.ts
- queries.ts
- auth-client.ts
- auth.ts
- package.json
- tsconfig.json
- auth.schema.ts
- index.ts
- relations.ts
- index.ts
- drizzle.config.ts
- package.json
- tsconfig.json
- button.tsx
- dropdown-menu.tsx
- input.tsx
- label.tsx
- toast.tsx
- use-mobile.ts
- theme-provider.tsx
- utils.ts
- base.css
- components.json
- package.json
- tsconfig.json
- base.json
- package.json
- .editorconfig
- .fallowrc.jsonc
- .gitattributes
- .gitignore
- AGENTS.md
- dev.sh
- docker-compose.yml
- LICENSE
- package.json
- pnpm-workspace.yaml
- README.md
- vite.config.ts
# ์ค์น ๊ฐ์ด๋
1. ์ฝ๋ ๋ด๋ ค๋ฐ๊ธฐ
git clone https://github.com/mugnavo/tanstarter-monorepo
๊นํ๋ธ์์ ํ๋ก์ ํธ ์ฝ๋ ์ ์ฒด๋ฅผ ๋ด ์ปดํจํฐ๋ก ๋ด๋ ค๋ฐ์ต๋๋ค.
cd tanstarter-monorepo
๋ฐฉ๊ธ ๋ด๋ ค๋ฐ์ ํ๋ก์ ํธ ํด๋ ์์ผ๋ก ์ด๋ํฉ๋๋ค.
2. Docker
์ฌ์ ์ถ์ฒ์ฌ์ ์ค๋น๋ฌผ
- Git GitHub์์ ํ๋ก์ ํธ ์ฝ๋๋ฅผ ๋ด๋ ค๋ฐ์ผ๋ ค๋ฉด ํ์ํฉ๋๋ค.
- Docker Desktop ์ปจํ ์ด๋๋ฅผ ๋น๋ํ๊ณ ์คํํ๋ ค๋ฉด ํ์ํฉ๋๋ค. ์ค์น ํ ์คํํด์ ๋ฐฑ๊ทธ๋ผ์ด๋์ ์ผ๋์ธ์.
docker compose up -d --build
์ ์๋ ๋ชจ๋ ์ปจํ ์ด๋(์๋ฒ, DB ๋ฑ)๋ฅผ ํ ๋ฒ์ ๋น๋ํ๊ณ ๋ฐฑ๊ทธ๋ผ์ด๋์์ ์คํํฉ๋๋ค.
ํฐ๋ฏธ๋์ docker compose ps ๋ฅผ ์
๋ ฅํด ์ปจํ
์ด๋๋ค์ด Up ์ํ์ธ์ง ํ์ธํ์ธ์. README์ ํฌํธ ๋ฒํธ๊ฐ ์ ํ์๋ค๋ฉด ๋ธ๋ผ์ฐ์ ์์ http://localhost:ํฌํธ๋ฒํธ ๋ก ์ ์ํด๋ณด์ธ์.
3. Node.js
์ฌ์์ฌ์ ์ค๋น๋ฌผ
pnpm create mugnavo -t monorepo
์ด ๋ช ๋ น์ด๋ฅผ ํฐ๋ฏธ๋์ ๊ทธ๋๋ก ์ ๋ ฅํด ์คํํ์ธ์.
โโโ pnpm-workspace.yaml
์ด ๋ช ๋ น์ด๋ฅผ ํฐ๋ฏธ๋์ ๊ทธ๋๋ก ์ ๋ ฅํด ์คํํ์ธ์.
๋ช
๋ น์ด ์คํ ํ ํฐ๋ฏธ๋์ ๋ํ๋๋ ์ฃผ์(๋ณดํต http://localhost:3000 ํํ)๋ฅผ ๋ธ๋ผ์ฐ์ ์์ ์ด์ด๋ณด์ธ์.
์ด ๋ ํฌ์ README์ ์ ํ ์ค์ ๋ช ๋ น์ด๋ฅผ ๊ทธ๋๋ก ๊ฐ์ ธ์์ต๋๋ค.
// repository documentation
Was this content helpful?
(0 ratings)
