DEV Community

Cover image for πŸš€ create-node-spark v2.1.0 Released: MongoDB Support + Smarter Config! πŸŽ‰
Talha Bilal
Talha Bilal

Posted on

πŸš€ create-node-spark v2.1.0 Released: MongoDB Support + Smarter Config! πŸŽ‰

Hey devs! πŸ‘‹ I’m excited to announce v2.1.0 of my CLI tool, create-node-spark! This update makes scaffolding Node.js backends even smoother.

✨ What’s New

Database Selection:

You can now choose between:

  • None (no DB)
  • MongoDB (fully integrated)

Improved Server Boot:

  • If you pick MongoDB, your server only starts once the DB connects successfullyβ€”no more silent fails!

Environment Config Overhaul:

  • ENV variables now live in a dedicated config/env.config.js file for better project organization.

demo

πŸ’‘ Why It Matters:

  1. βœ… Speeds up your Node.js REST API scaffolding
  2. βœ… Clean, ready-to-use folder structure
  3. βœ… Prevents common pitfalls like servers running without DB connections
  4. βœ… Super simple, minimal dependencies (just Inquirer)

πŸ”₯ Quick Start:

npx create-node-spark

πŸ“ˆ Roadmap:

  • More frameworks (Fastify, Hapi)
  • More DB options (PostgreSQL, Neon)
  • Pre-configured Auth & Middleware add-ons

πŸ™Œ I’d love your feedback & suggestions. Give it a try and let me know what you think! πŸ’¬

Top comments (0)