# @mmstudio/server

> web server

Latest version **1.1.0** (published 2020-12-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install @mmstudio/server
pnpm add @mmstudio/server
yarn add @mmstudio/server
bun add @mmstudio/server
```

Provides the command `mm-server`.

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2020-12-22 |
| First published | 2020-03-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 20 |
| Unpacked size | 622.4 KB |
| Known vulnerabilities | 0 (+6 in 4 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | taoqf |
| Maintainers | taoqf |
| Keywords | mm, mmstudio, 蛮蛮, 蛮蛮工作室, 插件式, 原子操作, 控件, 框架 |

## Links

- npm: https://www.npmjs.com/package/@mmstudio/server
- Repository: https://github.com/mm-core/server
- Homepage: https://mm-works.github.io/
- npm.io page: https://npm.io/package/@mmstudio/server

## Dependencies (20)

- [bl](https://npm.io/package/bl.md) 4.0.3
- [uuid](https://npm.io/package/uuid.md) 8.3.1
- [jszip](https://npm.io/package/jszip.md) 3.5.0
- [minio](https://npm.io/package/minio.md) 7.0.17
- [express](https://npm.io/package/express.md) 4.17.1
- [ffprobe](https://npm.io/package/ffprobe.md) 1.1.2
- [pdf2image](https://npm.io/package/pdf2image.md) 1.2.3
- [node-fetch](https://npm.io/package/node-fetch.md) 2.6.1
- [errorhandler](https://npm.io/package/errorhandler.md) 1.5.1
- [cookie-parser](https://npm.io/package/cookie-parser.md) 1.4.5
- [inline-source](https://npm.io/package/inline-source.md) 7.2.0
- [jsreport-core](https://npm.io/package/jsreport-core.md) 2.10.1
- [jsreport-xlsx](https://npm.io/package/jsreport-xlsx.md) 2.5.0
- [serve-favicon](https://npm.io/package/serve-favicon.md) 2.5.0
- [ffprobe-static](https://npm.io/package/ffprobe-static.md) 3.0.0
- [@mmstudio/invoke](https://npm.io/package/@mmstudio/invoke.md) 1.1.202004170948
- [express-form-data](https://npm.io/package/express-form-data.md) 2.0.14
- [jsreport-phantom-pdf](https://npm.io/package/jsreport-phantom-pdf.md) 2.6.1
- [jsreport-html-to-xlsx](https://npm.io/package/jsreport-html-to-xlsx.md) 2.8.1
- [jsreport-html-embedded-in-docx](https://npm.io/package/jsreport-html-embedded-in-docx.md) 2.2.0

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2020-12-22
- 1.0.202011271712 — 2020-11-27
- 1.0.202011262026 — 2020-11-26
- 1.0.202011021106 — 2020-11-02
- 1.0.202005312012 — 2020-05-31
- 1.0.202004171023 — 2020-04-17
- 1.0.202004170949 — 2020-04-17
- 1.0.202004170947 — 2020-04-17
- 1.0.202003191044 — 2020-03-19
- 1.0.202003181236 — 2020-03-18
- 1.0.202003171044 — 2020-03-17
- 1.0.202003161225 — 2020-03-16
- 1.0.202003131126 — 2020-03-13
- 1.0.202003131056 — 2020-03-13
- 1.0.202003130843 — 2020-03-13
- … 1 more at https://npm.io/package/@mmstudio/server/versions

## README

# Webserver

This is a web server for local development and deploy.

## 部署

安装

```sh
yarn add @mm-works/p000001
```

启动

```sh
./node_moduels/.bin/mm-server
```

## 配置

配置文件`mm.json`,主要配置端口，数据库服务

```json
{
	"port": 8889,
	"timeout": 500000,
	"acma": 150000,
	"max_file_size": 53687091200,
	"minio": {
		"endPoint": "127.0.0.1",
		"port": 9000,
		"accessKey": "mmstudio",
		"secretKey": "Mmstudio123",
		"useSSL": false,
		"region": "cn-north-1",
		"partSize": 5242880
	},
	"redis": {
		"url": "redis://127.0.0.1:6379",
		"expiration": 20000
	},
	"dbs": {
		"sys": {
			"type": "postgres",
			"source": "postgres://mmstudio:Mmstudio111111@127.0.0.1:5432/feidao"
		},
		"prj001": {
			"type": "mariadb",
			"source": "mysql://mmstudio:Mmstudio111111@127.0.0.1:3306/feidao?connectionLimit=5"
		}
	}
}
```

---
_Source: https://npm.io/package/@mmstudio/server · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
