This quick example using Spring boot, JPA, Hibernat and MySql to have rest service CURD operations
- Install MySql
- Java 1.8
- Maven
- posman for doing the api calls
- gitHub [it is required to get code to your local for modification]
command to get the code locally
git clone https://github.com/sameerasaad/dataservice.git
create database notes_app;
if you want to create database user and password use the below commands after you login to mySQL
mysql> create user 'springuser'@'%' identified by 'ThePassword'; -- Creates the user
mysql> grant all on db_example.* to 'springuser'@'%'; -- Gives all the privileges to the new user on the newly created database
cd DataService
run this command :
mvn spring-boot:run





