2.0.7 • Published 11 months ago

miryala v2.0.7

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

Miryala

miryala is a CLI tool that helps you scaffold a Node.js project with predefined folders and integrates Express and WebSocket. It saves time by automatically setting up controllers, middlewares, models, utils, and a ready-to-use server.js file.

Features

  • Predefined folder structure:
    • controllers/
    • middlewares/
    • models/
    • utils/
    • routes/
  • A ready-to-use server.js with:
    • Express setup
    • WebSocket integration
  • Included app.js for API routes.
  • Automatically installs express, ws, and nodemon.

Usage

Run the following command to scaffold a new project:

npx miryala
  • This command will:
  • Create the predefined folder structure.
  • Generate server.js and app.js with basic setup.
  • Install express, ws, and nodemon automatically.

For Database Setup

  • If you select MongoDB, ensure that the MONGO_URI is specified in the .env file.
  • If you select MySQL, ensure that the MYSQL_DB, MYSQL_USER, MYSQL_PASSWORD, and MYSQL_HOST are provided in the .env file.

Starting the Project

  • After the project is initialized with database setup, you can start the development server with:
npm run dev
  • This will start the server with nodemon, enabling hot-reloading during development.

License

  • This project is licensed under the MIT License - see the LICENSE file for details.
2.0.7

11 months ago

2.0.6

11 months ago

2.0.5

11 months ago

2.0.3

11 months ago

2.0.2

11 months ago

2.0.1

11 months ago

1.0.5

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago