[ Web Proxy ]
URL:
Viewing:
https://raw.githubusercontent.com/coderm520/APIJSON/master/APIJSON-Java-Server/README.md
[Back]
[Original]
# APIJSON - Java [](https://vincentcheng.github.io/apijson-doc/zh) #### jar https://github.com/TommyLemon/StaticResources/tree/master/APIJSONServer
### 1.APIJSON [APIJSONGitHub](https://github.com/TommyLemon/APIJSON) > Clone or download > [Download ZIP](https://github.com/TommyLemon/APIJSON/archive/master.zip) >
### 2.Eclipse for JavaEEIntellIJ IDEA Ultimate
Windows 7 + JDK 1.7.0_71 + Eclipse 4.6.1 + IntellIJ 2016.3 OSX EI Capitan + JDK 1.8.0_91 + Eclipse 4.6.1 + IntellIJ 2016.2.5 #### Eclipse for JavaEE
1)
File > Import > Maven > Existing Maven Projects > Next > Browse
> APIJSON-Master/APIJSON-Java-Server/APIJSONBoot
> /pom.xml ... apijson-demo > Finish
2)DemoLibrary
libs apijson-orm.jar > Build Path > Add to Build Path
postgresql.jar libsjar
3)(4APIJSON)
apijson.demo.server.DemoSQLConfig getDBUrigetDBAccountgetDBPasswordgetSchema
4)
Run > Run As > Java Application > APIJSONApplication > OK #### IntellIJ IDEA Ultimate
1)
Open > APIJSON-Master/APIJSON-Java-Server/APIJSONBoot > OK
2)DemoLibrary
libs apijson-orm.jar > Add as Library > OK
postgresql.jar libsjar
3)(4APIJSON)
apijson.demo.server.DemoSQLConfig getDBUrigetDBAccountgetDBPasswordgetSchema
4)
Run > Run > Edit Configurations > + > Application > Configuration
> Main class APIJSONApplication
> Use classpath of module apijson-demo
> Run
APIJSON "APIJSON"
Address already in use8080
(APIJSON)
APIJSON [SpringBoot](https://stackoverflow.com/questions/21083170/spring-boot-how-to-configure-port)
### 3.
[http://localhost:8080/get/{}](http://localhost:8080/get/{})
```json { "code": 200, "msg": "success" } ```
404 Not Found
### 4.
Table, Column
MySQL ServerMySQLWorkbench
Windows 7 + MySQL Community Server 5.7.16 + MySQLWorkbench 6.3.7 OSX EI Capitan + MySQL Community Server 5.7.16 + MySQLWorkbench 6.3.8 + Postgre 2.1.564 #### Navicat Navicat > localhost > postgres > postgres >
sys > SQL > APIJSON-Master/MySQL APIJSON-Master/PostgreSQL
> > postgres sys > sys/ #### MySQLWorkbenchMySQL MySQLWorkbench > Connection > sys Schema > Server > Data Import > APIJSON-Master/MySQL > Start Import > SCHEMAS sys/tables [3APIJSON](https://my.oschina.net/tommylemon/blog/889074)
### 5.
[APIJSON](http://apijson.org/auto) [App](https://github.com/TommyLemon/APIJSON)
Web Proxy Viewer |
New URL
|
Original Page