MwalaJS Framework - High-Performance Node.js MVC Framework

MWALAJS

Ultra High-Performance Node.js MVC Framework
Powered by Google V8 Engine

Get Started View on GitHub
Built on JS + V8 Engine Optimization

Framework Overview

MwalaJS is a next-generation, high-performance Node.js framework designed for building scalable, modern web applications with blazing speed and developer productivity.

Leveraging the full power of the Google V8 JavaScript engine, MwalaJS delivers exceptional performance while maintaining clean MVC architecture, powerful CLI tools, automatic code generation, and seamless database migrations.

Core Features

Lightning Fast

Optimized execution powered by Google V8 engine

Modern MVC

Clean separation of concerns with automatic scaffolding

Powerful CLI

Project creation, code generation, and database management

Advanced Migrations

Laravel-style database schema management

ES Modules Ready

Full .mjs support with .js fallback compatibility

Security First

Built-in protection and best practices

Installation

Latest versions (≥1.0.5) - Recommended

npm install -g mwalajs

Then create your project:

mwala create-project my-app
cd my-app
mwala serve

CLI Commands

mwala create-project <name>     → Scaffold new MVC project
mwala serve                    → Start development server
mwala generate model <name>     → Create model
mwala generate controller <name> → Create controller
mwala generate route <name>     → Create route
mwala generate view <name>      → Create EJS view
mwala generate midware <name>   → Create middleware
mwala create-db                → Create database
mwala migrate all              → Run all migrations
mwala help                     → Show all commands
      

Project Structure

my-project/
├── app.mjs                  # Main entry point (.mjs required)
├── config/
├── controllers/
├── middlewares/
├── models/
├── migrations/
├── routes/
├── views/                   # EJS templates
├── public/
│   ├── css/
│   ├── js/
│   └── images/
├── package.json
└── README.md
      

Code Examples

app.mjs

import mwalajs from 'mwalajs';
import homeRoutes from './routes/homeRoutes.mjs';
import path from 'path';
import { fileURLToPath } from 'url';

const __dirname = path.dirname(fileURLToPath(import.meta.url));

mwalajs.set('views', path.join(__dirname, 'views'));
mwalajs.set('view engine', 'ejs');
mwalajs.useStatic(path.join(__dirname, 'public'));

mwalajs.use('/', homeRoutes);

mwalajs.listen(3000, () => {
  console.log('MwalaJS running on http://localhost:3000');
});

Legacy Downloads

Join Our Community

Get instant support from developers and the core team

Join WhatsApp Group