Git Product home page Git Product logo

request's Introduction

Request for Worktile

Request 提供一个地址可以接收任何HTTP请求,并把结果展现出来,用于审查HTTP客户端发送的内容或Webhook调试。

访问地址:http://request.worktile.com

使用技术

Node.js 0.12.x + Angular.js 1.4.x + sequelize(默认数据库 sqlite)

安装步骤

  1. 安装 Node.js、Git 客户端;

  2. 执行 git clone https://github.com/lesschat/request 获取代码到本地

  3. 执行 npm install gulp -gnpm install bower -g 安装 gulp 和 bower 工具;

  4. 切换到代码根路径下,执行 npm installbower install 安装服务端模块和前端模块;

  5. 执行 gulp 生成 js,打开 http://localhost:8800 即可;

  6. 执行 gulp build 压缩合并js 和 css;

  7. 生产环境直接使用 bin/prod-web.sh 脚本启动,默认使用 pm2启动。

目录结构

  1. server 文件夹主要存放服务端相关代码
  2. www 存放前端相关代码文件
  3. app.js 是启动文件
.
|-- bin
|-- data
|-- server
|   |-- config
|   |-- controller
|   |-- core
|   `-- data
|-- test
|-- www
|   |-- static
|   |   |-- css
|   |   |   `-- lib
|   |   |-- dist
|   |   |-- fonts
|   |   |-- img
|  |   `-- js
|  `-- view
|      `-- shared
|-- app.js

request's People

Contributors

anytao avatar terrylee avatar why520crazy 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.