Skip to content

cschen1205/spring-deep-audio-api

Repository files navigation

spring-deep-audio-api

Deep Learning Audio Processing in Spring Boot

Usage

Build

Make sure you have Java 8 SDK and maven installed on your local machine.

If you are on Windows platform, Run make.ps1 in the project root (from Powershell) to build the server jar:

./make.ps1

If you are on a unix machine, run the following command:

mvn -f pom.xml clean package -Plocal -U
cp dp-machine-learning-server/target/dp-machine-learning-server.jar bin/dp-machine-learning-server.jar 

Run backend

Run the following command from the root directory of the project:

java -jar bin/dp-machine-learning-server.jar

This will start the backend server running at http://localhost:8081

To view the list of api available, the link is at http://localhost:8081/swagger-ui.html

Run frontend

Run the following command from the root directory of the project:

cd dp-machine-learning-frontend
npm install
npm start

This will start the Vue frontend running at http://localhost:8080