Skip to content

rvep/dev_backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

rvep | dev_backend

rolling vote event planner | app server

built using java, spring-boot, sql

used for webclient dev_frontend

pre-install

  1. create a firebase project
  2. install jdk8
    • set JAVA_HOME environment variable
  3. install mariadb
  4. (optional) install latest gradle
    • otherwise just use $ ./gradlew

install

$ git clone git@github.com:rvep/dev_backend

build & run

  • setup sql db
    • $ cd data/db/scripts
    • $ mysql -u root -p < add-user.sql
    • $ mysql -u root -p < create-db.sql
    • $ mysql -u root -p < init-db-tables.sql
  • $ gradle clean assemble check bootRun
  • once the server is up and running, you can test with curl
    • $ curl -w '\n' localhost:8080/api/test/get/roles

contribute

if you have any input, or contributions, please share!

donations

donate a cup of coffee

license

MIT