Giter Site home page Giter Site logo

kaola-fed / foxman Goto Github PK

View Code? Open in Web Editor NEW
81.0 2.0 17.0 8.39 MB

:fish_cake: an extensible mock server

Home Page: https://foxman.js.org

License: MIT License

JavaScript 88.72% HTML 2.82% FreeMarker 3.18% CSS 4.22% TypeScript 1.06%
extensible mock proxy kaola nei server development koa plugin

foxman's People

Contributors

deol avatar fengzilong avatar froguard avatar greenkeeper[bot] avatar imhype avatar q2177329q 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

Watchers

 avatar  avatar

foxman's Issues

Foxman v1.0.0 发版计划

新功能及优化

  • 必备的命令行参数 ,如 foxman -v
  • 现有模块单元测试补齐 #58
  • 加入 https 支持
  • 加快启动速度
  • mock 方式优化
    • 结合 NEI 上的数据,而不是只取其一 #8
    • mock需要更加强大 #60 [See MockControl]
  • 路由 展示页 #59 [See RouteDisplay]
  • 能一键从localhost 切换到对应IP,方便直接用手机访问调试

架构调整

  • 新的架构讨论 #108
  • Remove use from foxman-core #136
  • 生命周期完善 #122
  • 调整插件架构 #102
  • 插件api调整 #139

proxy待验证

移入 node-http-proxy,待在 haitaowap 工程上验证

频繁刷新会导致进程崩溃

为了规避 fmpp stringify 的问题,会生成一个 temp.ftl ,把 mock data 转换成 <#assign >的方式插入到 ftl文件里面,然后编译前生成,编译后删掉,频繁刷新会导致进程崩溃

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.