Skip to content

πŸš€ MyStarterCLI - A powerful CLI tool for generating starter templates with Next.js, Vite, and Express APIs. Simplify your project setup process and start coding faster! πŸŽ‰

Notifications You must be signed in to change notification settings

AhmedMohammedMostafa/Template-Creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ MyStarterCLI - The Awesome CLI Starter Template πŸš€

πŸ“œ Description

MyStarterCLI is an awesome Command-Line Interface (CLI) tool that helps you generate starter templates for various projects. It provides multiple options, including creating a full-stack project with Next.js and Express, setting up a standalone Express API, and creating a project with Vite and React along with an Express API.

🌐 Table of Contents

πŸ’« Features

  • πŸš€ Create Next.js projects with a simple Express API.
  • πŸ”₯ Set up standalone Express APIs for your projects.
  • πŸŽ‰ Create Vite and React projects with an integrated Express API.
  • πŸ“‹ Generate a detailed template-create.md file describing the created project.
  • βš™οΈ Customize configurations with template-config.json.
  • πŸ“¦ Install required dependencies automatically.
  • πŸ’» Simple and easy-to-use CLI tool.

πŸ“¦ Installation

To use MyStarterCLI, make sure you have Node.js and npm installed on your machine. Then, run the following command:

npm install -g my-starter-cli

πŸ”§ Usage

To run MyStarterCLI, simply execute the following command in your terminal:

my-starter-cli

Follow the prompts to choose the project type and, if required, enter a project name. MyStarterCLI will then generate the selected project template, create necessary files and folders, and install the required packages.

πŸ’Ό Project Types

  1. API + Next.js: Create a full-stack project with Next.js and Express. This template includes an Express API with API routes and a Next.js app set up using create-next-app.
  2. API: Set up a standalone Express API with API routes for your backend development needs.
  3. API + Vite: Generate a project with Vite and React, along with an integrated Express API. This template combines the power of Vite and Express for efficient development.

🀝 Contributing

Contributions to MyStarterCLI are more than welcome! If you find any issues, have suggestions for improvement, or want to add new features, please open an issue or submit a pull request.

πŸ“„ License

MyStarterCLI is open-source and released under the MIT License. Feel free to use and modify this tool for your projects.

πŸ”§ Packages Used

  • inquirer: A collection of common interactive command-line user interfaces.
  • shelljs: A portable Unix shell commands for Node.js.
  • fs: The built-in Node.js file system module.
  • path: The built-in Node.js path module.

πŸ› οΈ How to Install

To get started with MyStarterCLI, you need Node.js and npm installed on your machine. Follow these steps:

  1. Install Node.js and npm from the official website: Node.js Download.
  2. Open your terminal or command prompt.
  3. Install MyStarterCLI globally by running the following command:
npm install -g my-starter-cli

πŸš€ How to Use

Once MyStarterCLI is installed, you can start using it by running:

my-starter-cli

Follow the prompts to select your desired project type and enter a project name, if applicable. The CLI will then create the selected project template and set up the necessary files and folders. Additionally, it will install the required dependencies for your project.

That's it! You now have a powerful CLI tool to generate starter templates for your projects. Happy coding!

About

πŸš€ MyStarterCLI - A powerful CLI tool for generating starter templates with Next.js, Vite, and Express APIs. Simplify your project setup process and start coding faster! πŸŽ‰

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published