New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

red-js-cli

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

red-js-cli

A command-line interface tool for generating project templates for Node.js with Express, MongoDB and TypeScript and Nest.js and React and Next.js with Tailwind CSS and React Native.

latest
npmnpm
Version
1.1.4
Version published
Maintainers
1
Created
Source

Red CLI

A powerful and flexible CLI tool that helps you quickly scaffold modern web and mobile projects using production-ready boilerplates.

Features

  • 🚀 Quick project setup with production-ready boilerplates
  • 📚 Built-in Swagger API documentation for Node.js projects
  • 🎯 Type-safe development with TypeScript support
  • 🔄 State management solutions (Zustand) pre-configured
  • 📱 Cross-platform support (Web, Mobile, Server)
  • ⚡️ Modern development setup (Vite, Next.js App Router, React Native CLI)
  • 🔍 API integration ready with React Query
  • 🛠 Customizable project structure

Installation

npm install -g red-js-cli
# or clone the repository
git clone https://github.com/iwint/red-cli.git

Usage

Simply run:

red-js-cli

Follow the interactive prompts:

  • Choose your template from the available options
  • Enter your project name

Project Naming Rules

  • Can contain letters (a-z, A-Z)
  • Numbers (0-9)
  • Underscores (_)
  • Hashes (-)
  • No spaces or special characters

Available Templates

Node.js Backend

  • TypeScript-based Express.js setup
  • Swagger API documentation
  • Authentication ready (JWT, Google OAuth)
  • MongoDB integration with Mongoose
  • Winston logger
  • Environment configuration
  • Error handling middleware

Next.js Frontend

  • App Router architecture
  • React Query for data fetching
  • Authentication setup (@react-oauth/google)
  • Payment integrations (Paddle, Razorpay)
  • Tailwind CSS with animations
  • Type-safe development

React Frontend

  • Vite + SWC for fast development
  • Material UI components
  • React Query integration
  • React Router setup
  • Toast notifications
  • Tailwind CSS styling

React Native Mobile

  • Latest React Native setup
  • Navigation (Stack & Bottom Tabs)
  • Google Sign-In integration
  • Payment gateways (Stripe, Razorpay)
  • Async Storage
  • Type-safe API calls

Creating Custom Templates

  • Navigate to the templates directory
  • Create a new folder with your template name
  • Add your template files and structure
  • The template will automatically appear in the CLI options

Contributing

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

License

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

Author

Iwin Issac 👑

⭐️ If you found this project helpful, please consider giving it a star!

FAQs

Package last updated on 28 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts