Socket
Book a DemoInstallSign in
Socket

create-mkx-app

Package Overview
Dependencies
Maintainers
0
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-mkx-app

A CLI tool to scaffold new MKX apps.

1.1.14
latest
npmnpm
Version published
Maintainers
0
Created
Source

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:

  • Navigate to the project directory:
cd my-app
  • Install dependencies:
npm install
  • Start the development server:
npm start
  • 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:

  • Fork the repository.
  • Create a feature branch (git checkout -b feature-name).
  • Commit your changes (git commit -m "Add feature").
  • Push to the branch (git push origin feature-name).
  • 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!

Keywords

mkx

FAQs

Package last updated on 20 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.