1.1.14 • Published 6 months ago

create-mkx-app v1.1.14

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

Create Mkx App

A simple CLI tool to scaffold new MKX applications quickly and efficiently.

Features

  • Automatically creates a new project structure.
  • Pre-configured with a template directory for easy setup.
  • Includes React and Express integration for full-stack development.

Installation

You can install the package globally or use it directly via npx.

Option 1: Use with npx

Run the following command to scaffold a new app without installing the package globally:

npx create-mkx-app my-app

Option 2: Install Globally

Install the package globally using npm:

npm install -g create-mkx-app

Then, run:

create-mkx-app my-app

Usage

Creating a New App

To create a new application, run the following command:

npx create-mkx-app my-app

or (if installed globally):

create-mkx-app my-app

This will create a new directory called my-app in your current working directory, containing the pre-configured project files.

Project Structure

After running the command, the generated project will look like this:

my-app/
├── node_modules/
├── public/
│   └── index.html
├── src/
│   ├── App.jsx
│   ├── index.js
│   └── styles.css
├── server.js
├── package.json
└── README.md

Key Files:

  • server.js: An Express server to handle backend logic.
  • src/: Contains the React frontend.
  • public/: Contains static files like index.html.

Getting Started

After creating the app, follow these steps to get started:

  1. Navigate to the project directory:
cd my-app
  1. Install dependencies:
npm install
  1. Start the development server:
npm start
  1. Open your browser and navigate to:
http://localhost:3000

Dependencies

The following packages are included in the project:

  • Express: For backend server functionality.
  • React: For building the frontend user interface.
  • fs-extra: For file system operations.
  • chalk: For colored terminal output.
  • commander: For building the CLI interface.

Contributing

Contributions are welcome! If you’d like to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a feature branch (git checkout -b feature-name).
  3. Commit your changes (git commit -m "Add feature").
  4. Push to the branch (git push origin feature-name).
  5. Open a pull request.

License

This project is licensed under the MIT License.

Author

Mani Kant Sharma Feel free to reach out with any questions or feedback!

1.1.1

6 months ago

1.1.0

6 months ago

1.1.9

6 months ago

1.1.8

6 months ago

1.0.9

6 months ago

1.1.7

6 months ago

1.1.5

6 months ago

1.1.4

6 months ago

1.1.3

6 months ago

1.1.2

6 months ago

1.1.12

6 months ago

1.1.11

6 months ago

1.1.10

6 months ago

1.1.14

6 months ago

1.1.13

6 months ago

1.0.10

6 months ago

1.0.8

6 months ago

1.0.7

6 months ago

1.0.6

6 months ago

1.0.5

6 months ago

1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago