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 🙏

© 2025 – Pkg Stats / Ryan Hefner

devstacker

v1.3.0

Published

CLI to scaffold **fullstack applications** with **React, Next.js, Vue, Angular** on the frontend and **Express** on the backend, with support for **JavaScript** and **TypeScript**. It also supports **MongoDB integration** using environment variables, incl

Readme

Create Fullstack App CLI

CLI to scaffold fullstack applications with React, Next.js, Vue, Angular on the frontend and Express on the backend, with support for JavaScript and TypeScript. It also supports MongoDB integration using environment variables, including automatic .env creation with default configurations.


Table of Contents

  1. Installation
  2. Usage
  3. Features
  4. Frontend Options
  5. Backend Options
  6. MongoDB Setup
  7. Linting and Formatting
  8. Project Structure
  9. Running the Project
  10. Contributing
  11. License

Installation

⚠️ Because the name create-fullstack-app is already used on npm, you’ll need to install devstacker before using the command.

Step 1 — Install the package

You can install it globally (recommended):

npm install -g devstacker

Or install locally in your project folder:

npm install devstacker

Step 2 — Run the CLI

Once installed, you can run:

npx create-fullstack-app

Usage

After running the CLI:

  1. Enter your project name (default is my-fullstack-app).
  2. Choose a frontend framework: React, Next.js, Vue, Angular.
  3. Choose backend language: JavaScript or TypeScript.
  4. If React is selected, choose setup tool: Create React App or Vite.
  5. Optionally, choose MongoDB as your database.
  6. Optionally, choose to install Tailwind CSS for the frontend (not available for Angular).
  7. Optionally, choose to install ESLint and Prettier for code linting and formatting.

The CLI will automatically:

  • Create a server folder with Express setup.
  • Create a client folder with the chosen frontend framework.
  • Create a root package.json with npm run dev to run frontend + backend concurrently.
  • Automatically generate a .env file in the server folder with default MongoDB and PORT configuration if MongoDB is selected.
  • Install all required dependencies automatically.

Features

  • Supports React, Next.js, Vue, Angular frontend.
  • Supports JavaScript & TypeScript backend.
  • Optional MongoDB setup with automatic .env creation.
  • Optional Tailwind CSS setup for frontend frameworks (except Angular).
  • Optional ESLint and Prettier setup with automatic configuration files in root, client, and server folders.
  • Automatically installs concurrently to run frontend and backend together.
  • Default project name, author info, and GitHub link included.

Frontend Options

| Framework | Setup Tool | | --------- | ------------------- | | React | CRA / Vite | | Next.js | TypeScript + ESLint | | Vue | Vite | | Angular | Angular CLI |


Backend Options

  • JavaScript: Express + CORS
  • TypeScript: Express + CORS + ts-node-dev + types packages
  • Optional MongoDB: Mongoose + dotenv
  • .env file automatically created in server folder with default:
# MongoDB Configuration
MONGODB_URL=mongodb://127.0.0.1:27017/myappDB

# Server Port
PORT=5000

MongoDB Setup

If you chose MongoDB during project setup:

  1. A .env file is automatically created in the server folder:
server/.env
  1. Example .env content:
# MongoDB connection URL (local)
MONGODB_URL=mongodb://127.0.0.1:27017/myappDB

# Backend port
PORT=5000

For MongoDB Atlas, replace with:

MONGODB_URL=mongodb+srv://username:[email protected]/myappDB?retryWrites=true&w=majority
  1. Make sure to add .env to .gitignore:
server/.env
  1. The backend automatically reads this .env file on startup.

Linting and Formatting

If you chose to install ESLint and Prettier during setup:

  • ESLint configurations are created in root, client, and server folders for isolated linting rules.
  • Prettier configurations ensure consistent code formatting across the project.
  • You can run linting and formatting commands in each folder:
# In root, client, or server folder
npm run lint  # If defined in package.json
npx eslint . --ext .js,.jsx,.ts,.tsx
npx prettier --check .
npx prettier --write .

This allows different ESLint rules for frontend (e.g., React-specific) and backend (e.g., Node.js-specific) code.


Project Structure

After scaffolding, your project will look like:

my-fullstack-app/
├─ client/              # Frontend
│  ├─ .eslintrc.js      # ESLint config (if chosen)
│  └─ .prettierrc       # Prettier config (if chosen)
├─ server/              # Backend
│  ├─ index.js or index.ts
│  ├─ .env              # MongoDB config (auto-generated if selected)
│  ├─ .eslintrc.js      # ESLint config (if chosen)
│  └─ .prettierrc       # Prettier config (if chosen)
├─ .eslintrc.js         # Root ESLint config (if chosen)
├─ .prettierrc          # Root Prettier config (if chosen)
├─ package.json         # Root scripts (dev using concurrently)
└─ README.md

Running the Project

cd my-fullstack-app
npm run dev

License

ISC License Author: Jack Pritom Soren GitHub: Jack Pritom Soren