The Spring Boot back-end application for our mobile app college project
bms-backend
The Spring Boot back-end application for our mobile app college project
This uses the Spring Boot framework and acts as a REST API endpoint, which is ran in a cloud server — such as Linode — which is then connected to MariaDB.
Cloning the Repository
Make sure to clone the bms-utils repository in the same location as this one for the image analysis to work
- Go to your preferred directory
- Create an empty directory called
tmp-imgs
- Open your terminal and execute
git@github.com:laazyCmd/bms-backend.git
- Import the project, using your preferred IDE
- Wait for Maven to load dependencies
- Before running, ensure that in
src/main/resources/application.properties
:- You are using your preferred database URL in
spring.datasource.url
- You are using your correct driver in
spring.datasource.driver-class-name
- You are using your preferred database URL in
- Go to
src/main/kotlin/MainApplication.kt
, then pressSHIFT + F10
to run the application - Open your browser, and go see
http://localhost:8080
if this is successfully running