purshink / ReactJS-Spring-Boot-Full-Stack-App

ReactJS-Spring-Boot-Full-Stack-App
71 stars 30 forks source link

Documentation about setup of database missing #13

Open mauravan opened 2 years ago

mauravan commented 2 years ago

how do i have to setup the db or this? Setup script?

Especially the Version of the Database used is important

purshink commented 2 years ago

hey, you need to install local mysql server, then create a user with credentials (you can use workbench ui) and you can specify spring.datasource.username and spring.datasource.password in application.properties file and then on building the project, the DB should be created automatically(in the pom file there is a dependency mysql connector, that connects to the server) If its too much work, no worries, but would be nice if you try to run it

-mysql server: https://dev.mysql.com/downloads/mysql/ workbench install: https://dev.mysql.com/downloads/workbench/