An open API service indexing awesome lists of open source software.

https://github.com/markthree/nitro-proxy

前端静态服务,支持自动 api 代理
https://github.com/markthree/nitro-proxy

Last synced: about 1 year ago
JSON representation

前端静态服务,支持自动 api 代理

Awesome Lists containing this project

README

          

# nitro-proxy

前端静态服务,支持自动 `api` 代理


## 动机

想要快速进行前端的部署,而不用花费时间进行 `api` 代理


## 使用

### 打包

在你的 `vite` 项目中

```shell
# 生成自动代理的后端服务
npx nitro-proxy
```

### 启动

打包完成后启动服务

```shell
npx nitro-proxy start
```

### 终止

终止 `nitro-proxy` 服务

```shell
npx nitro-proxy stop
```


## License

Made with [markthree](https://github.com/markthree)

Published under [MIT License](./LICENSE).