Skip to content

StudyBox Java Backend - BLStream Patronage 2016 application

License

Notifications You must be signed in to change notification settings

LukaszPiskadlo/StudyBox_Backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StudyBox_Backend - BLStream Patronage 2016 application

REST API documentation and mock: http://docs.studybox.apiary.io/#

Content

  • backend - dropwizard maven/gradle java application
  • scripts - helper shell scripts, CD, etc.

Prerequisites:

Building with maven

    (cd backend && mvn -T4 clean package)

H2 database

Create db

java -jar backend/app/target/app-1.0-SNAPSHOT.jar db migrate backend/app/studybox-h2.yml

Run

    java -jar backend/app/target/app-1.0-SNAPSHOT.jar server backend/app/studybox-h2.yml

PostgreSQL

Create db

java -jar backend/app/target/app-1.0-SNAPSHOT.jar db migrate backend/app/studybox-pg.yml

Run

    java -jar backend/app/target/app-1.0-SNAPSHOT.jar server backend/app/studybox-pg.yml

Sending a file with curl:

curl -F file=@myFooFileName.jpg http://localhost:2000/decks/cv?fileType=image

About

StudyBox Java Backend - BLStream Patronage 2016 application

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 89.6%
  • API Blueprint 10.4%