mikrocms
v1.3.0
Published
Tool to create a mikrocms project
Downloads
1,015
Readme
Interactive tool for intergrate with mikrocms.
Application
npx mikrocms
Creating a new mikrocms application scaffold.
Application Environment
npx mikrocms env {environment_name}
Adding a new application environment or modified exsiting application environment.
Module
npx mikrocms module
Creating a new mikrocms module scaffold.
Module Database
npx mikrocms database {connection_name}
Adding a new module database connection or modified exsiting module database connection.
Module Schema
npx mikrocms schema {schema_name} {connection_name}
Adding a new module schema or modified exsiting module schema.
Module Model
npx mikrocms model {model_name}
Adding a new module model or modified exsiting module model.
Module Locale
npx mikrocms locale {language_code}
Adding a new module locale or modified exsiting module locale.
Module Middleware
npx mikrocms middleware {middleware_name}
Adding a new module middleware or modified exsiting module middleware.
Module Router
npx mikrocms router {endpoint}
Adding a new module router or modified exsiting module router.
Module Service
npx mikrocms service {http_method} {endpoint} {endpoint_router} {module_router}
Adding a new module service or modified exsiting module service.
Module CRUD
npx mikrocms crud {schema_name}
Adding a new module crud from a schema.
module.exports = {
"schema": [
// define all list schema here
],
"migration": [
// define all migration here
],
"crud": {
"create": true,
"read": true,
"update": true,
"delete": true
}
};