REST API documentation and mock: http://docs.studybox.apiary.io/#
- backend - dropwizard maven/gradle java application
- scripts - helper shell scripts, CD, etc.
Prerequisites:
- install: JDK 1.8 Oracle jdk download link
- install: Maven 3.x Maven download link
(cd backend && mvn -T4 clean package)
java -jar backend/app/target/app-1.0-SNAPSHOT.jar db migrate backend/app/studybox-h2.yml
java -jar backend/app/target/app-1.0-SNAPSHOT.jar server backend/app/studybox-h2.yml
java -jar backend/app/target/app-1.0-SNAPSHOT.jar db migrate backend/app/studybox-pg.yml
java -jar backend/app/target/app-1.0-SNAPSHOT.jar server backend/app/studybox-pg.yml
curl -F file=@myFooFileName.jpg http://localhost:2000/decks/cv?fileType=image