npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

set-up-node-mvc

v1.5.2

Published

A NPM package for set up mvc architecture for node and express with selected language and database

Readme

Set-Up-Node-MVC

A CLI tool to scaffold a Node.js backend with MVC architecture and built-in authentication

⚠️ Disclaimer

You must run this tool using npx to execute it directly from the npm registry without requiring a global installation.

npx set-up-node-mvc

Overview

Set-Up-Node-MVC is a powerful CLI tool that quickly scaffolds a structured MVC (Model-View-Controller) architecture for Node.js applications. It simplifies backend setup by generating a well-organized project with essential configurations, allowing developers to focus on building features instead of setting up the boilerplate.

Key Features

  • Interactive Setup – Choose between JavaScript and TypeScript during setup.
  • MVC Architecture – Generates a modular structure with controllers, services, repositories, and routes.
  • Express.js Integration – Sets up an Express server with basic routing.
  • TypeScript Support – Includes TypeScript configuration with ts-node-dev for live reload.
  • Database Ready – Provides flexibility to integrate various databases.
  • Built-in JWT Authentication – Implements secure user authentication with JSON Web Tokens.

Generated Project Structure

project-root/
      src/
         │── controllers/      # Route handlers  
         │── services/         # Business logic  
         │── repositories/     # Database queries and data access  
         │── routes/           # API route definitions  
         │── middleware/       # Middleware functions (e.g., authentication)  
         │── config/           # Configuration files  
         │── utils/            # Utility functions  
      │── index.js (or index.ts)  # Entry point  
      │── .env              # Environment variables  
      │── .gitignore        # Version control exclusions  

JWT Authentication

The CLI automatically sets up authentication with JWT, including:

  • User Registration – Secure signup with password hashing.
  • User Login – Issues JWT tokens for authenticated users.
  • Protected Routes – Middleware to secure endpoints using JWT.
  • Configurable Token Settings – Modify JWT_KEY and expiration in the .env file.

Installation & Usage

Run with npx (Recommended)

To use the CLI without installing globally, simply run:

npx set-up-node-mvc

Follow the interactive prompts to configure your project.

Install Locally (Optional)

You can install the package locally and run it within your project:

npm install --save-dev set-up-node-mvc
npx set-up-node-mvc

Starting the Server

Once the project is set up, navigate to the project directory and start the server:

For JavaScript:

npm run dev

For TypeScript:

npm run dev

(This runs with ts-node-dev for live reloading.)

Conclusion

Set-Up-Node-MVC is designed to save developers time by providing a well-structured backend setup with minimal effort. It’s a great choice for quickly setting up a Node.js application with Express.js, JWT authentication, and MVC architecture.


This version improves clarity, formatting, and professionalism while keeping it beginner-friendly. Let me know if you want any modifications! 🚀

Designed & Developed by

Abhishek Kumar Gupta – Software Developer

📧 Email: [email protected]
🔗 GitHub: github.com/Abhigupta13
🔗 LinkedIn: linkedin.com/in/abhigupta3007
🔗 Portfolio: https://abhishek-gupta-portfolio.vercel.app/