addis-boilerplate
v1.0.2
Published
A CLI tool to quickly set up boilerplate projects for React and Node.js.
Downloads
115
Maintainers
Readme
create-boilerplate
is a powerful CLI tool that helps you quickly set up boilerplate projects for React and Node.js. 🎉 It automates the creation process by allowing you to choose a stack and set up the corresponding project template.
🌟 Features
- 🔥 Choose between Frontend and Backend projects.
- 🌐 Select from various frontend stacks like:
- ⚛️ React with Tailwind CSS
- 🎨 React with Theme UI
- ⚙️ Select from backend stacks like:
- 🟦 Node.js with TypeScript
- 🟩 Node.js with JavaScript
- 📥 Automatically downloads, extracts, and initializes the selected project with Git.
📋 Prerequisites
Make sure you have the following installed on your system:
- 🟠 Node.js (version 14 or higher)
- 🐙 Git
💻 Usage
You can use create-boilerplate
globally using npm:
npm install -g create-boilerplate
Alternatively, you can use npx
to run the CLI without installing it:
npx create-boilerplate
💡 Note
To access the boilerplate projects, you need to have access to the GitHub repository containing the templates. When you run the tool, you will be redirected to GitHub for authentication. Please copy the token provided after successful authentication and paste it when prompted.
🎯 Example
Here's an example of creating a new React project with Tailwind CSS:
npx create-boilerplate
? Select the type of project: Frontend
? Select the stack: React with Tailwind CSS
? Enter the project name: my-react-app
This will create a new directory called my-react-app
with the React project template using Tailwind CSS.
🤝 Contributing
Contributions are welcome! Feel free to open an issue or submit a pull request if you find any bugs or want to add a new feature.
📬 Contact
If you have any questions, feel free to reach out to me at [[email protected]]