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

nestjs-prisma-cli

v1.0.12

Published

A CLI to generate NestJS + Prisma project boilerplate with Swagger, Auth, and AWS S3 setup

Readme

NestJS + Prisma Project Generator

License: MIT

A CLI tool to quickly scaffold a NestJS + Prisma project with pre-configured Swagger, Authentication, AWS S3 integration, and Prisma setup.


NestJS Prisma Generator CLI

A CLI tool to quickly scaffold a NestJS + Prisma project with built-in support for:

  • Prisma ORM with migrations and seeding
  • Swagger (OpenAPI) setup
  • Authentication boilerplate
  • AWS S3 integration
  • Logging via Winston (rotating logs and DB persistence)

Compatible with Node.js >=18 and NestJS v10+.


Installation

Quick Start Guide

Once the CLI is installed, you can use the following commands:

1️⃣ Install CLI globally

npm install -g nestjs-prisma-cli

2️⃣ Check CLI version

nestgen -v

or

nestgen --version

3️⃣ Generate a new project

nestgen
? Enter your project name: my-app
Step 2: ? Select your database: (Use arrow keys)
        MySQL
        PostgreSQL
        SQLite
        MongoDB
        CockroachDB
        SQLServer
Step 3: 🎉 Project ready! Next steps:

Navigate into your project

cd my-app

Update .env

DATABASE_URL="your_database_connection_string"
npx prisma generate

SQL Databases

(PostgreSQL, MySQL, SQLite, CockroachDB, SQLServer)

npx prisma migrate dev --name init

NoSQL Database

(MongoDB)

npx prisma db push

Then, follow this

npx ts-node prisma/seed.ts
npm run start:dev