Web Analytics

turbo-starter

⭐ 52 stars Korean by DhivinX

Turborepo Logo

Vue Logo Nuxt Logo Nest Logo

스타터 키트: TurboRepo를 활용한 소프트웨어 개발 프로젝트

이 저장소는 혁신적인 소프트웨어 애플리케이션을 신속하게 구축할 수 있도록 하는 즉시 사용 가능한 툴킷 및 프로젝트 골격을 제공합니다. TurboRepo, NestJS, Vue 3 with Vite, TypeScript, Nuxt.js와 같은 최신 기술과 프레임워크를 활용하여 원활하고 효율적인 소프트웨어 개발을 지원합니다.

목차

특징 및 내용

사전 요구사항

개발 환경에서 전역 설치를 권장합니다:

시작하기


1. Clone the repository

git clone https://github.com/DhivinX/turbo-starter.git

2. Enter your newly-cloned folder

cd turbo-starter

3. Install the project and build packages in libs folder

pnpm install

4. Dev: Run web with hot reload

pnpm dev-web # or make dev-web

5. Dev: Run API project with hot reload

Note that you need to create the .env file in the project root directory beforehand

You should copy the .env.example file and rename it to .env

cp .env.example .env

Then you can configure database access and other server settings

pnpm dev-api # or make dev-api

6. Or run API and WEB projects with hot reload parallel

pnpm dev # or make dev

Docker 시작하기


1. Clone the repository

git clone https://github.com/DhivinX/turbo-starter.git

2. Enter your newly-cloned folder

cd turbo-starter

3. Install the project and build packages in libs folder

pnpm install

4. Copy env.example to .env.local and pass wished variables:

Change DATABASE_HOST to "postgres"

cp .env.example .env.local

5. Build image:

make docker-build-local

6. Run API and WEB projects development process with hot reload in docker container

make docker-run-local

환경 변수

.env.example

# Frontend: API server connection configuration
VITE_WEB_DEFAULT_LOCALE="en"
VITE_WEB_API_URL="http://localhost"
VITE_WEB_API_PORT=3000

Backend public url

API_PUBLIC_URL=http://localhost:3000

HTTP / HTTPS server config

API_HTTP_PORT=3000

Cross-Origin Resource Sharing domain origins

More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS

API_HTTP_CORS=["http://localhost", "http://localhost:8080", "http://localhost:8081", "http://localhost:8082", "app://localhost", "capacitor://localhost"]

Keys required for hashing passwords and tokens

They should be filled with random, unique strings

API_SECRETS_PWDSALT="123456" API_SECRETS_JWT="123456"

Database type: postgres, mysql, sqlite etc.

More info: https://typeorm.io

DATABASE_TYPE="postgres"

Database connection config

DATABASE_HOST="localhost" DATABASE_PORT=5432

Database name and user credentials

DATABASE_NAME="turbonv" DATABASE_USER="postgres" DATABASE_PASSWORD="root"

Disable this in the production version of the application

More info: https://typeorm.io/faq#how-do-i-update-a-database-schema

DATABASE_ENABLE_SYNC=true

Volar와 Visual Studio Code (테이크오버 모드)

Volar는 이제 Vue - Official 확장 프로그램이므로, 버전 2.0에서는 테이크오버 모드가 더 이상 필요하지 않습니다. 이전에 이 확장 프로그램을 비활성화했다면 내장된 TypeScript and JavaScript Language Features 확장 프로그램을 활성화하세요.

최상위 스크립트

#### 개발

#### 빌드

#### 실행

#### 모바일

#### 공통

Visual Studio Code 확장 프로그램


{
  "recommendations": [
    "vue.volar",
    "dbaeumer.vscode-eslint",
    "editorconfig.editorconfig",
    "visualstudioexptteam.vscodeintellicode",
    "mikestead.dotenv",
    "firsttris.vscode-jest-runner"
  ]
}

필수

선택 사항

개선 사항 및 버그 신고

버그를 발견하거나 개선할 아이디어가 있으면 GitHub에 이슈를 게시해 주세요.

기여

이 스타터를 개선할 아이디어가 있거나 새로운 기능을 추가하고 싶다면 언제든지 풀 리퀘스트를 제출하세요. 여러분의 기여는 다른 개발자들이 프로젝트를 더 빠르게 시작하는 데 도움이 됩니다!

라이선스

이 스타터 키트는 MIT 라이선스 하에 제공됩니다.

--- Tranlated By Open Ai Tx | Last indexed: 2026-05-04 ---