Welcome to MwalaJS! This guide will help you install, configure, and use MwalaJS efficiently.
You can install MwalaJS in multiple ways:
Clone the repository from GitHub:
git clone https://github.com/mwala400/mwalajs.git
Download and extract the files from the available compressed format:
WinRAR
or 7-Zip
.WinRAR
.MwalaJS is a lightweight and modular JavaScript framework designed for building scalable server-side applications using modern Node.js features.
Install MwalaJS globally to use CLI tools:
npm install -g mwalajs
If you're using it in a specific project, install locally:
npm install mwalajs
Note: In case of errors regarding missing fs-extra
, you can install it manually:
npm install -g fs-extra
Note 2: NOW MWALAJS IS ONE OF NPM PACKAGE NO NEED TO DOWNLOAD .ZIP, .RAR OR .EXE FILES
, you can install it BY npm install -g mwalajs:
before any create a .json file and preparing mwalajs by running mwala init
make sure in your .json file you have "dependencies": {
"mwalajs": "^version(example, 1.0.5 or above)"
}
and "type": "module", these are more important to be set before run mwala serve
Once installed globally, you can use the CLI command:
mwala
Or check the version:
mwala -v
Command | Description |
---|---|
mwala create-project |
Create a new project using MwalaJS |
mwala init |
initialization of .json file and mwala environment in the project |
mwala serve |
Run the project in development mode |
mwala help |
Display help instructions |
npm audit
regularly.Click below to download the installer For Mwalajs framework:
Click below to download zip file mwalajs framework:
Click below to download rar file mwalajs framework :
mwala init
mwala create-project
mwala serve
mwala create-db
mwala create-table <table_name>
mwala drop-table <table_name>
mwala generate model <name> mwala generate controller <name> mwala generate route <name> mwala generate view <name> mwala generate midware <name>
For more details, visit: GitHub Repository