This application relies on a MySQL database to store all the information and messages, so you need to install a MySQL server on your local machine. The project is build using JDK 8 and Spring Boot so be sure of having JDK 1.8 or greater installed on your local environment.
Once MySQL is installed you need to create the database and run the application:
- Create the database schema using the DDL file located in
sql/asapp_challenge-schema.sql
. - Change the user and password for MySQL in the properties file, located in
src/main/resources/application.properties
(root/root is configured by default). - (Optional) You can modify the default server port by changing the property
server.port
located insrc/main/resources/application.properties
, the default value is 8080. - Run the aplication using the script
startup.sh
in the project root folder.