Skip to content

phuptqn/simple-express-mongo

Repository files navigation

simple-express-mongo

A starter project for Node.js with Express.js and MongoDB.

Features

  • Authentication: JWT
  • Validation: Middleware with Zod
  • Logger: Winston + Daily rotation
  • Language: Multi-language JSON message support
  • View: EJS
  • File Upload: Middleware with Multer
  • Env: Node built-in support
  • Tests: Jest + Supertest with coverage
  • Linter/Formatter: ESLint + Prettier auto-format with pre-commit Git hook
  • Security: express-rate-limit/helmet

Prerequisites

  • Node.js: Version 22 or higher.
  • MongoDB: Ensure MongoDB is installed and running.

License

This project is licensed under the MIT License.

Releases

No releases published

Packages

No packages published

Languages