Skip to content

Latest commit

 

History

History

README.md

backend-javascript

👉 If you don’t speak French, the English version is here: English

Starter backend Node.js avec Express, Jest, ESLint et Webpack.

🚀 Fonctionnalités

  • Serveur Express
  • Support ESM (import)
  • Linting avec ESLint
  • Tests unitaires, d'intégration et e2e avec Jest
  • Analyse de couverture (jest --coverage)
  • Rechargement à chaud (nodemon)
  • Build avec Webpack
  • Script pour générer la structure du projet

📦 Scripts npm

  • npm run dev : démarrage en mode développement (nodemon)
  • npm run start : démarrage en mode production
  • npm run lint : lint du code
  • npm run test : tous les tests
  • npm run test:unit : tests unitaires uniquement
  • npm run test:integration : tests d'intégration
  • npm run test:e2e : tests end-to-end
  • npm run coverage : rapport de couverture
  • npm run build : build avec Webpack
  • npm run generate-project-structure : affichage de la structure du projet

🛠 Installation

npm install

🧪 Lancer les tests

npm test

Minitoring Tools

ElasticSearch http://localhost:9200

Kibana http://localhost:5601

Prometheus http://localhost:9090

Grafana http://localhost:3000 Login : admin / admin

redis http://localhost:6379

redisinsight http://localhost:8001