OCRD REST API
Eclipse/Maven project for OCRD Application Server REST API & UIF
prerequisites
- JDK8 or better
- Maven 3
- Eclipse 4.X or better (installed maven plugin & e.g. Spring STS)
build, run & dev-steps
import to eclipse
- clone repo to your local machine
- Open Eclipse
- File->Import->Maven->existing Maven project
- Run from new projects's context menu Maven->Update project
- New Java code from RAML is generated in /target/generated-sources/raml-jaxrs
run local jetty dev-server
steps:
- run eclipse project on server:
RunLocalJetty.java
- Point your browser to http://localhost:8181
/
shows html & js pages which reside in src/webapp
/api/
points to all api endpoints
API documentation:
OCRD WEB APP
- sources in webapp-src folder
contents
all source files which are needed to build the webapp (e.g. backbone js code & HTML markup code)
build
use build scripts to create a build. The build-script shall sync the build to src/webapp