This is the server for my shopping list application (https://github.com/rebekkabb/Shopping-list-app), created for the Mobilab test assignment.
-
Make sure an instance of Postgre is running
-
Define the right env variables (ones in application.properties)
SHOPPING_LIST_APP_DB_URL - url of the host containing port and database name
SHOPPING_LIST_APP_DB_USERNAME
SHOPPING_LIST_APP_DB_PASSWORD
-
Initialize the tables in the database using the
db/init.sql
file. NB: Make sure schema the data is initialized in is the default schema for the database -
The server can be ran with
gradlew.bat bootRun