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

ibrinfotech-mern

v1.0.0

Published

A CLI tool to create MERN stack projects with FAANG company standards and best practices

Readme

ibrinfotech-mern

A powerful CLI tool to create MERN stack projects with FAANG company standards and best practices. This package automatically clones the MERN Project Standard repository and sets up a complete development environment.

🚀 Features

  • Interactive CLI: User-friendly command-line interface with prompts
  • Automatic Setup: Clones the MERN template and configures it for your project
  • Best Practices: Follows FAANG company standards and modern development practices
  • Complete Stack: Includes frontend (React) and backend (Express.js) setup
  • Modern Tools: React 18, TypeScript-ready, Tailwind CSS, Zustand, React Query
  • Authentication: JWT-based authentication system
  • Code Quality: ESLint, Prettier, and modern coding standards

📦 Installation

Global Installation (Recommended)

npm install -g ibrinfotech-mern

Local Installation

npm install ibrinfotech-mern

🎯 Usage

Interactive Mode (Default)

ibrinfotech-mern

This will start an interactive session where you'll be prompted for:

  • Project name
  • Confirmation to proceed

Programmatic Usage

const { createProject } = require('ibrinfotech-mern');

// Create a new project
await createProject('my-awesome-app', '/path/to/projects');

🔧 What Gets Created

When you run the tool, it will:

  1. Clone the Repository: Downloads the latest MERN template from GitHub
  2. Setup Project Structure: Creates the project directory and organizes files
  3. Customize Configuration: Updates package.json and README with your project name
  4. Remove Git History: Starts fresh without the template's git history
  5. Generate Documentation: Creates a comprehensive README for your project

📁 Project Structure

your-project-name/
├── frontend/          # React application
│   ├── src/
│   ├── public/
│   ├── package.json
│   └── ...
├── backend/           # Express.js server
│   ├── src/
│   ├── routes/
│   ├── middleware/
│   ├── package.json
│   └── ...
├── package.json       # Root package.json with scripts
└── README.md         # Project documentation

🛠️ Available Scripts

After project creation, you can use these commands:

Installation

npm run install:all      # Install all dependencies
npm run install:frontend # Install frontend dependencies only
npm run install:backend  # Install backend dependencies only

Development

npm run dev              # Start both servers
npm run dev:frontend     # Start frontend only
npm run dev:backend      # Start backend only

Production

npm run build            # Build frontend
npm run start            # Start production backend

🌟 Tech Stack

Frontend

  • React 18 with functional components and hooks
  • TypeScript-ready architecture
  • Tailwind CSS for utility-first styling
  • Zustand for lightweight state management
  • React Query for server state management
  • React Router for navigation
  • React Hook Form for form handling
  • Axios for API integration

Backend

  • Express.js framework
  • MongoDB with Mongoose ODM
  • JWT Authentication with refresh tokens
  • Middleware for validation and security
  • RESTful API design
  • Error handling and logging

Development Tools

  • ESLint and Prettier for code quality
  • Nodemon for backend development
  • Hot reload for frontend development
  • Cross-env for environment variables

📝 Environment Variables

Frontend (.env)

REACT_APP_API_URL=http://localhost:5000/api

Backend (.env)

NODE_ENV=development
PORT=5000
MONGODB_URI=mongodb://localhost:27017/your-database
JWT_SECRET=your-jwt-secret
JWT_EXPIRES_IN=7d

🚀 Quick Start Guide

  1. Install the package:

    npm install -g ibrinfotech-mern
  2. Create a new project:

    ibrinfotech-mern
  3. Follow the prompts:

    • Enter your project name
    • Confirm the creation
  4. Navigate to your project:

    cd your-project-name
  5. Install dependencies:

    npm run install:all
  6. Start development:

    npm run dev
  7. Access your application:

    • Frontend: http://localhost:3000
    • Backend: http://localhost:5000

🔍 Troubleshooting

Common Issues

  1. Port already in use:

    • Frontend: Change port in frontend/package.json scripts
    • Backend: Change port in .env file
  2. MongoDB connection issues:

    • Ensure MongoDB is running
    • Check connection string in backend .env
  3. Dependencies issues:

    • Run npm run clean:install to clean and reinstall
  4. Git clone errors:

    • Check your internet connection
    • Ensure you have git installed

Getting Help

  • Check the console for error messages
  • Review the browser console for frontend issues
  • Check the terminal for backend server logs
  • Ensure all environment variables are set correctly

🤝 Contributing

We welcome contributions! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

  • Built on top of the MERN Project Standard template
  • Inspired by modern development practices and FAANG company standards
  • Community contributions and feedback

📞 Support


Made with ❤️ by IBR Infotech

Empowering developers to build better applications with modern tools and best practices.