A demo for my Manic Monday Presentation on Spring-Boot and MySQL.
Powerpoint presentation is avalible under /presentation
- Download Java JDK 1.8
- Install maven from brew using
brew install maven - Set up sdk man 'curl -s
https://get.sdkman.io" | bash - Get spring boot by using sdk man
sdk install springboot - Download mySQL Community from here (Make sure to remeber the password-)
- Also download mySQL from brew using
brew install mysql - Start up mysql using
sudo mysql --password - Create a new database
create database lynx_mysql;
create user 'lynx-patient'@'localhost' identified by 'password';
grant all on lynx_mysql.* to 'lynx-patient'@'localhost';- Navigate to
lynx/backend/lynx_db - Run commmand
mvn clean installto install dependencies - Run command
mvn spring-boot:runto start up server