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

# APIJSON - Java ### 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/APIJSON-Eclipse
> APIJSONDemo APIJSONLibrary > Finish

apijson-libraryJDK
apijson-library > Properties > Java Compiler > Use compliance from ... > Complier compliance level1.7 > OK
2)DemoLibrary
apijson-demo > Properties > Java Build Path > Projects > Add > apijson-library > OK > OK
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/APIJSON-Idea/APIJSONDemo > OK

IdeaModuleJDK
Project StructureProblemsproject SDK is not defined
File > Project Structure > Project > Project SDK JDK

New... > JDK > JDK > Open

Apply OK
2)DemoLibrary
File > New > Module from Existing Sources > APIJSONDemoAPIJSONLibrary > Open
> APIJSONDemo > Open Module Settings > Modules > apijson-demo > Dependencies
> + > Module Dependency > apijson-library > OK > OK
3)(4APIJSON)
apijson.demo.server.DemoSQLConfig getDBUrigetDBAccountgetDBPasswordgetSchema
4)
Run > Run APIJSONApplication
Edit Configurations...
\+ > Application > Main class apijson.demo.server.APIJSONApplication
\> Use class path 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.864 MySQLWorkbench > Connection > Server > Data Import > APIJSON-Master/table > Start Import > SCHEMAS, sys/tablestable
### 5.
[APIJSON](http://39.108.143.172/) [App](https://github.com/TommyLemon/APIJSON)

Web Proxy Viewer  |  New URL  |  Original Page