@sharagulov/create-react-monorepo
v1.0.7
Published
Reactor-CLI to easify frontend developing
Maintainers
Readme
⚪ create-react-monorepo
A professional React + Express monorepo generator for frontend-developers that helps to start projects in seconds.
Perfect for users who need a fast, structured, and scalable setup.
🚀 Features
✅ Automatic project structure: client/ for React, server/ for Node.js
✅ Supports PostgreSQL (optional)
✅ Uses EJS templates for dynamic configurations
✅ Customizable ports and database settings
✅ Zero manual setup – just run a single command!
📦 Installation
You can install it globally:
npm install -g @sharagulov/create-react-monorepoOr use it instantly with npx:
npx @sharagulov/create-react-monorepo my-project🛠️ Usage
Once installed, CRM generates a new monorepo.
The script will ask for:
- Whether to include a PostgreSQL backend
- Database username, password, port
- Proxy and PostgreSQL ports
- Automatically scaffolds a monorepo structure.
📂 Project Structure
my-project
├── client/ # React frontend
│ ├── src/
│ ├── public/
│ ├── package.json
│ └── craco.config.js
├── server/ # Express backend (optional)
│ ├── controllers/
│ ├── routes/
│ ├── prisma/
│ ├── package.json
│ ├── .env # Auto-generated from user input
│ └── server.js
└── README.md🔧 Commands
Inside your project, run:
cd my-project/client && npm install
cd ../server && npm install # Only if backend is enabledTo start the frontend:
cd client
npm startTo start the backend:
cd server
npm run dev📜 Environment Variables (.env)
If you enabled the backend, a .env file will be generated:
DATABASE_URL=postgresql://USERNAME:PASSWORD@localhost:PORT/NAME
SERVER_PORT=3001You can manually edit these values later.
📄 License
This project is licensed under the MIT License – you're free to use, modify, and distribute it.
📞 Contact
Author: Pavel Sharagulov
📧 Email: [email protected]
🔗 GitHub: sharagulov
📦 npm: @sharagulov
Made with ❤️
