Web Analytics

turbo-starter

⭐ 52 stars Spanish by DhivinX

Logo de Turborepo

Logo de Vue Logo de Nuxt Logo de Nest

Kit de Inicio: Proyecto de Desarrollo de Software con TurboRepo

Este repositorio sirve como un kit de herramientas listo para usar y un esqueleto de proyecto que permite un inicio rápido en la construcción de aplicaciones de software innovadoras. Aprovecha tecnologías y frameworks avanzados como TurboRepo, NestJS, Vue 3 con Vite, TypeScript y Nuxt.js para facilitar un desarrollo de software fluido y eficiente.

Tabla de Contenidos

Características y Contenidos

Prerrequisitos

Se sugiere instalar globalmente en el entorno de desarrollo:

Comenzando


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

Comenzando con 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

Variables de entorno

.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 y Visual Studio Code (Modo de toma de control)

Volar ahora es la extensión Vue - Official, por lo que el modo de toma de control ya no es necesario en la versión 2.0. Por favor, habilite la extensión incorporada TypeScript and JavaScript Language Features, si la había deshabilitado antes.

Scripts de nivel superior

#### DESARROLLO

#### COMPILACIÓN

#### EJECUCIÓN

#### MÓVIL

#### COMÚN

Extensiones de Visual Studio Code


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

Requerido

Opcional

Mejoras y Reportes de Errores

Si encuentras un error o tienes una mejora en mente, por favor publica issues en GitHub.

Contribución

Si tienes ideas para mejorar este starter o deseas añadir nuevas funcionalidades, siéntete libre de enviar pull requests. ¡Tu contribución puede ayudar a otros desarrolladores a iniciar sus proyectos aún más rápido!

Licencia

Este kit de inicio se proporciona bajo la licencia MIT.

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