Deployed on https://voter-queue.herokuapp.com/.
Or run heroku open -r prod
in your terminal.
- SparkJava - web framework
- postgres - database
- Lombok - library for getters/setters
- Jackson - JSON parsing library
- ZXing - library for QR codes
If any of the Maven dependencies change, run
mvn assembly:single
to build the JAR filemvn heroku:deploy
Usually, just running this would update the changes to Heroku.
git push heroku master
to push code from master branch to heroku remote branch
To start a local Postgres server and set up the database,
pg_ctl -D /usr/local/var/postgres start
- enter the
psql
shell with an existing database - copy and paste
setup.sql
thenschema.sql
from thesrc/db
directory