Experience a modern, lightweight MVC framework powered by Express, MySQL, and pure HTML/CSS/Tailwind/JavaScript.
Minimal MVC framework on Node.js (Express) + MySQL with plain HTML/CSS/JS.
- Node.js 18+
- MySQL 8+ (or MariaDB)
npm install
cp .env.example .env
# edit .env with your DB credentials
feather run dev
Starts with nodemon
so it restarts on file changes.
feather start
feather run migrate
feather run cli -- <command> <Name>
Commands:
FeatherMVC CLI Commands:
make:page <name>
→Create HTML page, controller, route, and auto-register
make:controller
→Create only a controller
-make:model
→Create a model
-make:route
→Create a route
-help
→Show this help message
Example:
feather make:page blog
npm install package-name
Or for dev dependency:
npm install -D package-name
myapp/
├─ bin/ # CLI scripts
├─ db/ # migrations and runner
├─ public/ # static assets
├─ src/
│ ├─ config/ # DB config
│ ├─ controllers/ # request handlers
│ ├─ lib/ # view engine
│ ├─ middleware/ # custom middleware
│ ├─ models/ # DB models
│ ├─ routes/ # route definitions
│ ├─ views/ # layouts and pages
│ └─ server.js # app entry
└─ .env.example # environment template
npm install
cp .env.example .env
# edit .env for DB settings
npm run migrate
npm run dev
# visit http://localhost:3000