Web Analytics

turbo-starter

⭐ 52 stars French by DhivinX

Logo Turborepo

Logo Vue Logo Nuxt Logo Nest

Kit de démarrage : Projet de développement logiciel avec TurboRepo

Ce dépôt sert d’outil prêt à l’emploi et de squelette de projet permettant un démarrage rapide pour construire des applications logicielles innovantes. Il exploite des technologies et frameworks avancés tels que TurboRepo, NestJS, Vue 3 avec Vite, TypeScript et Nuxt.js pour faciliter un développement logiciel fluide et efficace.

Table des matières

Fonctionnalités et Contenus

Prérequis

Il est conseillé d'installer globalement dans l'environnement de développement :

Pour commencer


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

Prise en main de 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 d'environnement

.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 et Visual Studio Code (Mode Prise de Contrôle)

Volar est maintenant l'extension officielle Vue - Official, donc le mode prise de contrôle n'est plus nécessaire à partir de la version 2.0. Veuillez activer l'extension intégrée TypeScript and JavaScript Language Features si vous l'aviez désactivée auparavant.

Scripts de Niveau Supérieur

#### DÉVELOPPEMENT

#### COMPILATION

#### EXÉCUTION

#### MOBILE

#### COMMUN

Extensions Visual Studio Code


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

Requis

Optionnel

Améliorations et rapports de bugs

Si vous trouvez un bug, ou avez une amélioration en tête, veuillez poster des issues sur GitHub.

Contribution

Si vous avez des idées pour améliorer ce starter ou souhaitez ajouter de nouvelles fonctionnalités, n’hésitez pas à soumettre des pull requests. Votre contribution peut aider d’autres développeurs à démarrer leurs projets encore plus rapidement !

Licence

Ce kit de démarrage est fourni sous licence MIT.

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