GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — APIJSON-Demo/APIJSON-JavaScript at master · sbhouchen/APIJSON-Demo

Expand file tree

/

APIJSON-JavaScript

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

APIJSON-JavaScript

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
APIJSON-JS-Vue
APIJSON-JS-Vue
 
 
APIJSON-JS
APIJSON-JS
 
 
README-English.md
README-English.md
 
 
README.md
README.md
 
 

README.md

Outline

APIJSON上手部署 - JavaScript

1.下载后解压APIJSON-Demo工程

打开APIJSON-Demo的GitHub主页 > Clone or download > Download ZIP > 解压到一个路径并记住这个路径。


2.运行JavaScript工程

可选IDE或编辑器: WebStorm, PhpStorm, VSCode, Sublime, Atom ...
推荐使用 WebStorm。

APIJSON-JS工程

直接用浏览器打开html文件即可。或者使用IDE或编辑器。

APIJSON-JS-Vue工程

需要搭建Vue2.0环境及配置node_modules依赖才能运行调试,我主要参考了这篇博文

http://www.jianshu.com/p/5ba253651c3b


3.测试接口

看 浏览器界面 或 浏览器控制台。
如果默认url不可用,修改为一个可用的,比如正在运行APIJSON后端工程的电脑的IPV4地址,然后重新运行。

也可以直接使用 APIAuto-机器学习 HTTP 接口工具 或 Postman 等其它 HTTP 接口工具,格式为 HTTP POST JSON,具体示例参考通用文档
https://github.com/Tencent/APIJSON/blob/master/Document.md

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.