MayaJS:用于构建可扩展服务器端应用程序的 Node.js 框架

MayaJS 是一个 Node.js 框架,简化可扩展服务器端应用程序的开发。它专注于为开发者提供简单易用的体验,尤其适合初学者。

主要特点

  • 使用 TypeScript 编写,提供强大的类型检查功能,同时保留对纯 JavaScript 的支持
  • 支持 NoSQL 和 SQL 数据库
  • 内置路由库,无需依赖第三方库

快速入门

  1. 使用以下命令全局安装 MayaJS CLI: bash npm i @mayajs/cli -g
  2. 创建一个新的 MayaJS 项目: bash maya new my-new-app
  3. 进入项目目录: bash cd my-new-app
  4. 启动 MayaJS 项目: bash maya serve 如果默认端口已被占用,可以使用 --port 参数指定其他端口。
zip
maya-master.zip 预估大小:36个文件
folder
maya-master 文件夹
file
jest-setup-file.ts 27B
file
package.json 2KB
file
tslint.json 4KB
file
maya.svg 7KB
folder
.github 文件夹
folder
ISSUE_TEMPLATE 文件夹
file
---bug-report.md 661B
file
---feature-request.md 793B
file
--error-report.md 743B
folder
workflows 文件夹
file
greetings.yml 377B
folder
test 文件夹
file
index.test.ts 110B
folder
lib 文件夹
file
App.test.ts 177B
file
Controller.test.ts 224B
file
Factory.test.ts 1KB
file
Injector.test.ts 266B
file
Methods.test.ts 816B
file
Injectable.test.ts 192B
file
jest.config.js 506B
file
LICENSE 1KB
file
package-lock.json 251KB
folder
src 文件夹
folder
interfaces 文件夹
file
index.ts 2KB
folder
types 文件夹
file
index.ts 589B
folder
utils 文件夹
file
Injector.ts 666B
file
App.ts 660B
file
Controller.ts 996B
file
Database.ts 855B
file
Methods.ts 3KB
file
Factory.ts 1KB
file
Injectable.ts 323B
file
index.ts 5KB
file
tsconfig.json 442B
file
.gitignore 1021B
folder
.circleci 文件夹
file
config.yml 723B
file
CODE_OF_CONDUCT.md 3KB
file
README.md 3KB
file
COMMUNITY_GUIDELINES.md 11KB
file
COLLABORATOR_GUIDE.md 3KB
folder
.vscode 文件夹
file
settings.json 926B
zip 文件大小:89.01KB