https://github.com/NollysCafe/nolly-cli
Create Nolly CLI is a modern, developer-friendly tool for bootstrapping web projects. With preconfigured templates for Frontend, Backend, and Fullstack setups, it streamlines project creation using Vite, React, Express, and TypeScript. Interactive prompts, rich visuals, and multi-package manager support make setup effortless. 🚀
https://github.com/NollysCafe/nolly-cli
automation backend boilerplate cli developer-tools express frontend fullstack nolly npm open-source pnpm project-generator react sass scaffolding typescript vite web-development yarn
Last synced: 8 months ago
JSON representation
Create Nolly CLI is a modern, developer-friendly tool for bootstrapping web projects. With preconfigured templates for Frontend, Backend, and Fullstack setups, it streamlines project creation using Vite, React, Express, and TypeScript. Interactive prompts, rich visuals, and multi-package manager support make setup effortless. 🚀
- Host: GitHub
- URL: https://github.com/NollysCafe/nolly-cli
- Owner: NollysCafe
- License: mit
- Created: 2025-01-23T03:42:18.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-18T20:52:53.000Z (over 1 year ago)
- Last Synced: 2025-10-02T03:38:52.239Z (9 months ago)
- Topics: automation, backend, boilerplate, cli, developer-tools, express, frontend, fullstack, nolly, npm, open-source, pnpm, project-generator, react, sass, scaffolding, typescript, vite, web-development, yarn
- Language: TypeScript
- Homepage: https://npmjs.com/package/nolly-cli
- Size: 132 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# 🌟 Nolly CLI
**Nolly CLI** is a modern toolkit for bootstrapping web projects with minimal effort. 🚀
It offers preconfigured templates for **Frontend**, **Backend**, **Fullstack**, and **Discord Bots** projects to help you focus on building, not configuring.
---
## ✨ Features
- 🛠️ **Ready-to-Use Templates**: Vite + React, Express, Fullstack, and Discord Bot!
- ⚡ **Quick Setup**: Organized and production-ready project structures.
- 🌈 **Developer-Friendly CLI**: Interactive prompts, rich visuals, and helpful outputs.
- 📦 **Supports npm, pnpm, or yarn**.
- 📚 **Comprehensive Documentation**: Includes inline guidance and a detailed Wiki.
---
## 🔥 Getting Started
### 🧑💻 Installation
Install globally via npm:
```bash
npm install -g nolly-cli
```
### 🎉 Usage
Create a new project with one command:
```bash
create-nolly new
```
Follow the interactive prompts or use optional flags to:
1. Choose a template:
- **Frontend** (Vite + React + TypeScript + SASS)
- **Backend** (Express + TypeScript)
- **Fullstack** (Frontend + Backend)
- **Discord Bot** (Discord.js + TypeScript)
2. Customize your project name or use the default.
3. [Optional] Skip prompts by providing:
- `--package-manager `: Specify `npm`, `pnpm`, or `yarn`.
- `--no-git`: Skip Git initialization.
- `--no-install`: Skip installing dependencies.
---
## 📦 Available Templates
### Frontend
- ⚡ **Vite**: Super-fast build tool.
- ⚛️ **React**: Modern UI library.
- 🎨 **SASS**: Robust styling with preprocessor.
- 🔒 **TypeScript**: Static typing for scalability.
### Backend
- 🚀 **Express**: Lightweight and fast web framework.
- 🛡️ **Middleware**: Preconfigured with CORS, Helmet, and more.
- 🔒 **TypeScript**: Type-safe and maintainable backend setup.
### Fullstack
- Combines **Frontend** and **Backend** seamlessly.
- Preconfigured for integration between React and Express.
### Discord Bot
- 🤖 **Discord.js v14**: Latest API support.
- 📂 **Modular Structure**: Organized commands, events, and handlers.
- 🚀 **TypeScript Support**: Fully typed for maintainability.
- 🐳 **Docker & Docker Compose**: Ready for containerized deployment.
- 🔧 **Hot Reloading**: Powered by `ts-node-dev` for a smooth dev experience.
---
## 📚 Learn More
Visit the [Wiki](https://github.com/nollyscafe/nolly-cli/wiki) for:
- Full tutorials for each template.
- Deployment guides.
- Advanced CLI usage.
---
## 🛠️ Example Outputs
### Frontend Project
```plaintext
🎉 Project 'my-frontend' created successfully!
📦 Next steps:
1. Navigate to your project folder: cd my-frontend
2. Install dependencies: npm install
3. Start the dev server: npm run dev
```
### Backend Project
```plaintext
🎉 Project 'my-backend' created successfully!
📦 Next steps:
1. Navigate to your project folder: cd my-backend
2. Install dependencies: npm install
3. Start the server: npm run dev
```
### Fullstack Project
```plaintext
🎉 Project 'my-fullstack' created successfully!
📦 Next steps:
1. Navigate to your project folder: cd my-fullstack
2. Install dependencies: npm -w install
3. Start the server: npm run dev
```
### Discord Bot Project
```plaintext
🎉 Project 'my-discord-bot' created successfully!
📦 Next steps:
1. Navigate to your project folder: cd my-discord-bot
2. Install dependencies: npm install
3. Start the bot: npm run dev
```
---
## ⚠️ Requirements
Ensure your environment meets these requirements:
- **Node.js** v18 or later (for compatibility and stability).
- A package manager (`npm`, `pnpm`, or `yarn`) installed globally.
- **Optional**: Run `create-nolly --help` for quick reference to commands.
---
## 💬 Support
Need help or have feedback?
- Open an [issue](https://github.com/nollyscafe/nolly-cli/issues).
- Join our [Discord community](https://discord.gg/T9eaXaVun6).
---
## ❤️ Contributors
A big thanks to all contributors!
---
## 🛡️ License
This project is licensed under the [MIT License](LICENSE).
---
## ☕ Support Me
- [Buy Me a Coffee](https://buymeacoffee.com/nolly.cafe)
- [Ko-fi](https://ko-fi.com/nolly__)
- [Patreon](https://patreon.com/_nolly)
---
Made with ❤️ by Nolly for [Nolly's Cafe](https://cafe.thenolle.com).