Sql_Workbench
Controller -- > Controller package handels all type of Api request.
Model --> Inside model package we store our entity as class
Service--> Inside the service package,we write all type of the business logic inside Service class
Repo -->Inside Repo Package we have repo interface for each class that allow us to make CRUD opperation
@OneToOne
@OneToMany
$ git init$ git status
$ git add
$ git commit -m "rakeshCommit"
$ git remote add origin https://github.com/rakesh1234-png/EcommerceApi.git
$ git push -u origin master
spring.datasource.url=jdbc:mysql://localhost:3306/amazonDb
spring.datasource.username=root
spring.datasource.password=1Ake2sh@3
spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.show_sql=true
spring.jpa.properties.hibernate.use_sql_comments=true
spring.jpa.properties.hibernate.format_sql=true