Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.35 KB

File metadata and controls

56 lines (39 loc) · 1.35 KB

backend-javascript

👉 Si vous ne parlez pas anglais, la version française est ici : Français

Starter backend for Node.js using ESM, with Express, Jest, ESLint, and Webpack.

🚀 Features

  • Express server
  • ESM module support (import)
  • Linting with ESLint
  • Unit, integration, and e2e testing with Jest
  • Coverage report (jest --coverage)
  • Hot reload with nodemon
  • Build system with Webpack
  • Script to print project folder structure

📦 npm Scripts

  • npm run dev: start in dev mode (nodemon)
  • npm run start: start in production mode
  • npm run lint: lint the code
  • npm run test: run all tests
  • npm run test:unit: run unit tests
  • npm run test:integration: run integration tests
  • npm run test:e2e: run end-to-end tests
  • npm run coverage: coverage report
  • npm run build: build with Webpack
  • npm run generate-project-structure: display folder structure

🛠 Installation

npm install

🧪 Run 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