# fjh

> 博客api

Latest version **2.0.2** (published 2023-04-16) · ISC license · 0 weekly downloads

## Install

```sh
npm install fjh
pnpm add fjh
yarn add fjh
bun add fjh
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.2 |
| Published | 2023-04-16 |
| First published | 2023-01-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 18.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | fengjiheng |
| Keywords | f, fj, fjh |

## Links

- npm: https://www.npmjs.com/package/fjh
- npm.io page: https://npm.io/package/fjh

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 2.0.2 (latest) — 2023-04-16
- 2.0.1 — 2023-04-16
- 2.0.0 — 2023-04-16
- 1.1.2 — 2023-04-16
- 1.1.1 — 2023-01-03
- 1.1.0 — 2023-01-03
- 1.0.0 — 2023-01-03

## README

## 准备工作
    1.window系统，已经安装配置好的mysql客户端

## 1.修改mysql目录下的两个数据文件（mysql/create.js）（mysql/index.js）
```js

// 以下修改的内容必须一致

// index.js文件修改一下内容
    const db = mysql.createPool({
    host: 'localhost',
    user: 'xxxx', //修改成自己的数据库用户名
    password: 'xxxxxxxxxx', //修改成自己的数据库密码
    database: 'my1', //修改成自己喜欢的数据库表的名称
    acquireTimeout: 15000,
    connectionLimit: 10, 
    waitForConnections: true, 
    queueLimit: 0,
});

// create.js文件修改一下内容
    const mysqlName = 'xxxx'; //修改成自己的数据库用户名
    const mysqlPassword = 'xxxxxxxxx' //修改成自己的数据库密码
    const mysqldatabase = 'mydata'; //修改成自己喜欢的数据库表的名称
```

## 2.创建数据库
```js
cd mysql
node .\create.js
```

## 3.启动服务器
```js
cd..
node .\index.js
```

## 开源协议
ISC

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