GithubHelp home page GithubHelp logo

fed's Introduction

FED - The Front-End Develop Kitchen

FED 是一个前端开发环境,供前端编写简单的后台接口,以调试开发页面; 前端可以在此环境下,使用真实的URL访问地址访问,并可嫁接于其它服务器调试页面(调试线上代码), 可以写页面模板代码并使用测试数据调试输出,最终可生成文档。

FED 试图重新划分项目开发中前后端分工,明确各开发范围,提高项目并行开发效率,降低前后端开发的耦合度;同时为前端开发提供了可测的工具平台,使之在无后端实现情况下也可模拟后端接口及数据,测试页面功能。

Build Status

Features

  • 支持FreeMarker模板引擎
  • 支持标准的HTTP请求方法及返回数据格式
  • 支持less、coffee文件的实时编译
  • 可自动重启应用最新代码
  • 插件机制扩展,满足大部分扩展需求

Quick Start

  1. 创建文件夹:
$> mkdir fedProj
$> cd fedProj
  1. 下载安装FED:
$> npm install -g fed
  1. COPY一份配置文件 "fedProj/FED/configs/index.json", 修改

  2. 启动服务:

$> fed server -w -p 8910 ./configs/index.json

注:fed server时必须指定配置文件~!

当修改mock文件时,FED会自动重启应用更新。

Documentation

更多的使用说明请移步 【WIKI】, 文档会不定时更新。

同时,如果有任何问题请到【issues】给我提issue,我会尽快处理并答复的。

Contributing

点右上角fork按钮

Test

> npm test

Bitdeli Badge

fed's People

Contributors

bitdeli-chef avatar dyb avatar ijse avatar

Watchers

 avatar  avatar

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.