GithubHelp home page GithubHelp logo

postcatlab / postcat Goto Github PK

View Code? Open in Web Editor NEW
5.1K 5.1K 745.0 150.38 MB

Postcat 是一个可扩展的 API 工具平台。集合基础的 API 管理和测试功能,并且可以通过插件简化你的 API 开发工作,让你可以更快更好地创建 API。An extensible API tool.

Home Page: https://www.postcat.com

License: Apache License 2.0

JavaScript 75.77% HTML 22.15% Less 1.17% Perl 0.74% NSIS 0.07% Shell 0.10%
angular api electron nodejs typescirpt vue

postcat's Introduction

Postcat API 客户端(Client)

Postcat API Client

English | 简体中文

License Version Downloads Chat

🛠️ 小更新,大改变:Postcat 正在重构中! 🚀

嘿,Postcat 的朋友们!

只是想快速告诉大家,我们的项目现在正处在一次激动人心的重构旅程中。这并不意味着 Postcat 没有得到维护,恰恰相反,我们正在给它注入新的活力!

在这个阶段,可能会有些静悄悄的,但请相信,我们在幕后正忙得不可开交。我们致力于让 Postcat 变得更酷、更易用,只是需要一点时间来打磨和完善。

所以,请继续关注,不久的将来,你们会见到一个焕然一新的 Postcat。你的支持和耐心是我们最宝贵的动力!

敬请期待,更多精彩即将来临!

概述

Postcat 是一个强大的开源、免费的、跨平台(Windows、Mac、Linux、Browsers...)的 API 开发测试工具,支持 REST、Websocket 等协议(即将支持 GraphQL、gRPC、TCP、UDP),帮助你加速完成 API 开发和测试工作。它非常适合中小团队及个人使用。

Postcat UI

我们在保证 Postcat 轻巧灵活的同时,还为它设计了一个强大的插件系统,让您可以一键使用插件来增强它的功能。

Postcat Extensions

因此 Postcat 理论上是一个拥有无限可能的 API 产品,可以从Logo 中看到,我们也形象地为它加上了一件披风,代表它的无限可能。

免登录在线使用或下载

Postcat 现在已经支持 Windows、Mac、Linux等系统,你可以通过以下地址访问并下载。同时我们也提供了 Web 端,方便你在任何浏览器上使用。

https://postcat.com/

如果您试用之后觉得不错,请给我们的Postcat一个 Star 和 Fork~你的支持是我们不断改进产品的动力!

详细的文档

Postcat 文档

插件开发文档

功能特性和迭代计划(Roadmap)

  • 🚀 多协议支持

-- 已实现:HTTP REST、Websocket

-- 即将实现:GraphQL、TCP、UDP、gRPC

  • 📕 API 文档

  • ✨ API 设计

  • ⚡ API 测试

  • 🎭 Mock

  • 🙌 团队协作

  • 🎈 文档分享

  • 🗺 环境

  • 🧶 全局变量

  • 🧩 自定义主题风格

  • 🌐 多语言支持:中文、English

了解更多具体迭代计划:Github Project
也欢迎给我们多多提需求~

💪 贡献者 💪

感谢你们让美好发生!

Power by contrib.rocks.

Bug 和需求反馈

如果想要反馈 Bug、提供产品意见,可以创建一个 Github issue 联系我们,十分感谢!

如果您希望和 Postcat 团队近距离交流,讨论产品使用技巧以及了解更多产品最新进展,欢迎加入以下渠道。

开发 Postcat

运行代码

请确保你已经部署好所需的开发环境:

  • Node.js >= 14.17.x

  • yarn >= 1.22.x

我们在开发和构建时使用 yarn 作为包管理工具,强烈建议你也这么做,但如果您希望使用 npm 也完全没问题,只是在安装依赖时可能需要多花一些时间。

运行桌面端程序

yarn install

yarn start

运行浏览器程序

cd src/browser&&npm install

yarn start

提高效率

如果想提高开发效率,可以安装 Angular 官方提供的命令行 Angular-cli 快速生成组件、服务等模板。


yarn add @angular/cli --global

内置命令

运行命令

命令 描述
yarn start 开发模式下,同时运行在浏览器和桌面端
yarn start:zh 中文开发模式,同时运行在浏览器和桌面端
yarn start:web 仅运行在浏览器,同时开启后端代理
yarn start:electron 仅运行在桌面端

本项目 i18n 使用的是编译手段,所以开发时无法切换语言

打包构建

命令 描述
sudo yarn build 各系统打包 Electron 应用

运行测试

命令 描述
yarn test 执行单元测试

postcat's People

Contributors

asdwsxzc123 avatar buqiyuan avatar eltociear avatar everright avatar jack-123-power avatar kungfuboy avatar louistsang-jk avatar onechives avatar renqian805 avatar scarqin avatar yzaio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

postcat's Issues

change the eoapi struture

image

目录结构

逻辑先判断功能上属于哪一块,再判断运行环境在哪去放置代码模块。

根目录

  • share: 提供通用服务和 UI 组件
  • platform: 提供和平台有关的服务和 UI 组件
  • app: 入口配置,初始化一些内容
  • core:核心插件,例如:API 接口管理、插件市场应用、
  • workbench: 核心工作区,目前有顶部导航栏、侧栏、底部 toolbar,以后可能有菜单栏设置

运行环境

  • common: 只使用 javascritp api 的代码,能在任何环境下运行
  • browser: 浏览器 api, 如操作 dom; 可以调用 common
  • node: 需要使用 node 的 api,比如文件 io 操作
  • electron-brower: 渲染进程 api, 可以调用 common, brower, node, 依赖 electron renderer-process API
  • electron-main: 主进程 api, 可以调用: common, node 依赖于electron main-process AP

When you are in the document module of the official website, click to switch to English, and the page displays abnormally

Phenomenon and recurrence steps:

As shown in the figure, visit the official website( https://www.eoapi.io/ )After that, click the "document" module, then click "select language" and select "English". An exception will appear on the page

middle_img_v2_f5045792-dbfe-487a-94cc-f46e2cccb98g

middle_img_v2_a8e29f26-03b4-4d58-b698-5582184db02g

Other information

Google Chrome
Version 101.0.4951.41 (official version) (arm64)

PC
MacBook Air (M1, 2020)
version 12.3 Monterey


I like EO API very much. I hope it will be better and better!!

The application cannot be closed by clicking the Close button in the production environment

Before opening an issue, we recommend:

  • Use English to communicate.
  • Search for duplicates of Issues and Discussions unresolved.

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

How API Testing Works in Node

前端是怎么发起测试的呀,我用过axios,fetch,ajax 这些框架。你们好像用的node测试,没使用过,能给个案例嘛,我好研究研究

Extension market web preview


这里改成,目前 web 端暂不支持插件广场,请【下载桌面端】(绿色按钮);
然后点击后展示下拉框如图;

Layout resizing

1、左侧边栏是否可以增加左右调整尺寸的功能,如果接口保存后的命名过长,被省略号替换掉了,那后续部分看不见,恰好前面部分文字又一样的话,很容易困惑。
230b6fd04193b4fdfa6b0aa5d50dd21

2、对于返回结果的数据区域,可视区过于小气了,固定高度,而且只显示了一丁点,还要上下滚动,是否可以参照 postMan 那样布局,返回数据区域整体放置到右侧,采取 100 vh 高度,查看返回数据更加便捷一些

image
image

保存的API信息没了

image
本来创建了两个分组,保存了2个API,刚刚添加第3个的时候,提示保存成功,但是分组里面看不到,把软件重启后,之前保存的API也没有了

Test history optimization

  1. The test history should record environmental information. When restoring, intelligently determine whether to add a domain name, or let the user choose whether to keep the domain name when restoring the history.
  2. All headers should be displayed when restoring request headers

Enviroment manage inital select status error

1. After the drop-down selected environment opens the modal, it should be selected by default

origin:outside select env 【pro】,modal inside select env 【dev】
hope:outside select=modal select
image

2. The edited environment should remain selected after saving

save 【pro】

after save,jump to 【dev】

Support for GraphQL

背景:现在web端的产品都在使用graphql来进行接口说明。
需求:快速生成query和muation测试case,参考postman

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.