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.
- π οΈ 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.
Install globally via npm:
npm install -g nolly-cli
Create a new project with one command:
create-nolly new
Follow the interactive prompts or use optional flags to:
- Choose a template:
- Frontend (Vite + React + TypeScript + SASS)
- Backend (Express + TypeScript)
- Fullstack (Frontend + Backend)
- Discord Bot (Discord.js + TypeScript)
- Customize your project name or use the default.
- [Optional] Skip prompts by providing:
--package-manager <manager>
: Specifynpm
,pnpm
, oryarn
.--no-git
: Skip Git initialization.--no-install
: Skip installing dependencies.
- β‘ Vite: Super-fast build tool.
- βοΈ React: Modern UI library.
- π¨ SASS: Robust styling with preprocessor.
- π TypeScript: Static typing for scalability.
- π Express: Lightweight and fast web framework.
- π‘οΈ Middleware: Preconfigured with CORS, Helmet, and more.
- π TypeScript: Type-safe and maintainable backend setup.
- Combines Frontend and Backend seamlessly.
- Preconfigured for integration between React and Express.
- π€ 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.
Visit the Wiki for:
- Full tutorials for each template.
- Deployment guides.
- Advanced CLI usage.
π 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
π 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
π 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
π 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
Ensure your environment meets these requirements:
- Node.js v18 or later (for compatibility and stability).
- A package manager (
npm
,pnpm
, oryarn
) installed globally. - Optional: Run
create-nolly --help
for quick reference to commands.
Need help or have feedback?
- Open an issue.
- Join our Discord community.
A big thanks to all contributors!
This project is licensed under the MIT License.
Made with β€οΈ by Nolly for Nolly's Cafe.