[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/SailingLRH/APIJSON-Demo/master/APIJSON-Java-Server/README.md [Back]  [Original]

[English](https://github.com/APIJSON/APIJSON-Demo/blob/master/APIJSON-Java-Server/README-English.md) # APIJSON - Java ### JDBC Demo [APIJSONDemo](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONDemo) APIJSON + SpringBoot + MySQL + PostgreSQL Demo DemoSQLConfig
[APIJSONBoot](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONBoot) APIJSON + SpringBoot + MySQL + PostgreSQL + SQLServer + TDengine Demo DemoSQLConfig
[APIJSONFinal](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONFinal) APIJSON + JFinal + MySQL + PostgreSQL Demo DemoSQLConfig
### Demo [APIJSONDemo-Druid](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONDemo-Druid) APIJSON + SpringBoot + Druid + MySQL + PostgreSQL Demo application.yml
[APIJSONDemo-HikariCP](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONDemo-HikariCP) APIJSON + SpringBoot + HikariCP + MySQL + PostgreSQL Demo application.yml
[APIJSONBoot-MultiDataSource](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONBoot-MultiDataSource) APIJSON + SpringBoot + Druid + HikariCP + PostgreSQL + SQLServer + TDengine + Demo
application.yml [APIAuto](https://github.com/TommyLemon/APIAuto) [src/main/resources/static](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/resources/static) http://localhost:8080
### Demo [APIJSONDemo-ShardingSphere](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONDemo-ShardingSphere) APIJSON + SpringBoot + ShardingSphere + MySQL + PostgreSQL Demo application.yml, application-sharding-databases.properties
### OLAP Demo [APIJSONBoot-BigData](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONBoot-BigData) APIJSON + SpringBoot + Presto + Trino + Elasticsearch Demo

** APIJSONDemo [](https://github.com/APIJSON/APIJSON-Demo/blob/master/APIJSON-Java-Server/APIJSONDemo/src/main/java/apijson/demo/DemoController.java#L52-L54) /get
APIJSONDemo APIJSONBoot/APIJSONFinal** Oracle, SQLServer JDBC GPL pom.xml Maven

[](https://github.com/Tencent/APIJSON/blob/master/%E8%AF%A6%E7%BB%86%E7%9A%84%E8%AF%B4%E6%98%8E%E6%96%87%E6%A1%A3.md) [](https://space.bilibili.com/39652511) #### jar https://github.com/TommyLemon/StaticResources/tree/master/APIJSONServer

### 1.APIJSON-Demo [APIJSON-DemoGitHub](https://github.com/APIJSON/APIJSON-Demo) > Clone or download > [Download ZIP](https://github.com/APIJSON/APIJSON-Demo/archive/master.zip) >
### 2.

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-Demo-Master MySQL/PostgreSQL/Oracle
> > postgres sys > sys/ #### MySQLWorkbenchMySQL MySQLWorkbench > Connection > sys Schema > Server > Data Import > APIJSON-Demo-Master/MySQL > Start Import > SCHEMAS sys/tables [3APIJSON](https://my.oschina.net/tommylemon/blog/889074)
### 3. IntellIJ IDEA Ultimate Eclipse for JavaEE
Windows 7 + JDK 1.7.0_71 + IntellIJ 2016.3 + Eclipse 4.6.1 OSX EI Capitan + JDK 1.8.0_91 + IntellIJ 2016.2.5 + Eclipse 4.6.1 #### IntellIJ IDEA Ultimate

1)
Open > APIJSON-Demo-Master/APIJSON-Java-Server APIJSONDemo(Demo) APIJSONBoot() > OK
2)
apijson-orm, apijson-framework Maven
https://github.com/APIJSON/apijson-orm https://github.com/APIJSON/apijson-framework
apijson-orm, apijson-framework
libs (APIJSONBoot ) apijson-orm.jar > Add as Library > OK
libs jar
3)( 4 APIJSON )
DemoSQLConfig getDBUrigetDBAccountgetDBPasswordgetSchema
4)
APIJSONDemo/APIJSONBoot: DemoApplication > Run DemoApplication.main
APIJSONFinal: DemoAppConfig > Run DemoAppConfig.main

APIJSON "APIJSON "

Address already in use 8080
( APIJSON )
APIJSON [SpringBoot ](https://segmentfault.com/a/1190000021639114)
#### Eclipse for JavaEE
1)
File > Import > Maven > Existing Maven Projects > Next > Browse
> APIJSON-Demo-Master/APIJSON-Java-Server APIJSONDemo(Demo) APIJSONBoot() > OK > /pom.xml ... apijson-demo apijson-boot > Finish
2)
apijson-orm, apijson-framework Maven
https://github.com/APIJSON/apijson-orm https://github.com/APIJSON/apijson-framework
apijson-orm, apijson-framework
libs (APIJSONBoot ) apijson-orm.jar > Build Path > Add to Build Path
libs jar
3)( 4 APIJSON )
DemoSQLConfig getDBUrigetDBAccountgetDBPasswordgetSchema
4)
APIJSONDemo/APIJSONBoot: DemoApplication > Run As > Java Application
APIJSONFinal: DemoAppConfig > Run As > Java Application
### 4.
[http://localhost:8080/get/{}](http://localhost:8080/get/{})
```json { "code": 200, "msg": "success" } ```
404 Not Found

### 5.
[APIAuto- HTTP ](http://apijson.cn/api) Postman HTTP HTTP POST JSON
https://github.com/Tencent/APIJSON/blob/master/Document.md

Web Proxy Viewer  |  New URL  |  Original Page