Giter Site home page Giter Site logo

postcatlab / postcat Goto Github PK

View Code? Open in Web Editor NEW
5.1K 59.0 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%
electron typescirpt angular api nodejs vue

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  avatar

postcat's Issues

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

保存的API信息没了

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

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.

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】

Extension market web preview


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

How API Testing Works in Node

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

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!!

Support for GraphQL

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

Layout resizing

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

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

image
image

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.