Back to Portfolio
Screaming Dialca React

Screaming Dialca React

A CLI tool to scaffold React + Vite projects using a feature-based, screaming architecture. Designed to standardize project structure and improve long-term maintainability.

Technologies Used

Node.js JavaScript React Vite NPM

Screaming Dialca React — CLI Tool

Screaming Dialca React is a command-line tool that generates React + Vite projects using a feature-based folder structure inspired by Screaming Architecture.

It is designed to eliminate repetitive setup work while enforcing clean project organization from day one, making it easier to scale and maintain applications over time.


✨ Key Features


🧠 Why Screaming Architecture?

Instead of grouping files by type (components, hooks, utils), this tool encourages grouping by feature or domain, allowing projects to:

The project structure should scream what the app does.


📦 Installation

Install globally:

npm install -g screaming-dialca-react
# Or run with npx
npx screaming-dialca-react

🚀 Usage

Run the CLI and follow the prompts:

screaming-dialca-react my-app
# Or with npx
npx screaming-dialca-react my-app

cd my-app
npm install
npm run dev

🛠️ Generated Structure

my-app/ ├── src/ │ ├── app/ # Application-level components and configurations │ ├── core/ # Application core (routing, theming, etc.) │ ├── features/ # Feature-based modules │ │ └── example/ # Example feature │ │ ├── components/ # Feature-specific components │ │ ├── hooks/ # Feature-specific hooks │ │ ├── utils/ # Feature-specific utilities │ │ ├── pages/ # Feature-specific pages │ │ ├── constants/ # Feature-specific constants │ │ ├── types/ # Feature-specific types (TypeScript) │ │ ├── contexts/ # Feature-specific contexts │ │ ├── stores/ # Feature-specific state management │ │ └── services/ # Feature-specific services (API calls) │ └── shared/ # Shared components, hooks, and utilities └── README_SCREAMING.md # Architecture documentation

🎯 Who is this for?