ECommerceController.java | ECommerceController class for ECommerce Platform project with spring Boot , react and mysql -- project code is in description
Welcome to my Viraj Tech YouTube channel new to the channel please subscribe to the channel... & turn on the bell icon by clicking and making it to 'all' to get more interesting and technical videos.
If you like the video or video provide you any help or support, hit the like button. For any query comment below in the comment section I will try to help you and also try to sort out all your problems as soon as possible.
Thanks for Watching...
package com.virajtech.ecommerce.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.virajtech.ecommerce.model.ECommerce;
import com.virajtech.ecommerce.service.ECommerceService;
@RestController
@RequestMapping("/ecommerce")
@CrossOrigin(origins = "http://localhost:5173")
public class ECommerceController {
@Autowired
private ECommerceService eCommerceService;
@GetMapping
public List(angled bracket)ECommerce(angled bracket) getECommerces() {
return eCommerceService.getECommerces();
}
@GetMapping("/{id}")
public ECommerce getECommerceById(@PathVariable long id) {
return eCommerceService.getECommerceById(id);
}
@PostMapping
public ECommerce saveECommerce(@RequestBody ECommerce eCommerce) {
return eCommerceService.saveECommerce(eCommerce);
}
@PutMapping("/{id}")
public ECommerce updateECommerce(@PathVariable long id, @RequestBody ECommerce eCommerce) {
return eCommerceService.updateECommerce(id, eCommerce);
}
@DeleteMapping("/{id}")
public void deleteECommerce(@PathVariable long id) {
eCommerceService.deleteECommerce(id);
}
}
----------------------------------------------------------------------------------------------------------------------------------------
INSTAGRAM :- https://www.instagram.com/VIRAJTECHS
FACEBOOK :- https://www.facebook.com/VIRAJTECHS
TWITTER :- https://twitter.com/VIRAJTECHS
TELEGRAM :- https://t.me/virajtech
GITHUB :- https://github.com/virajvicky
----------------------------------------------------------------------------------------------------------------------------------------
Subscribe to my main channel
https://www.youtube.com/c/VIRAJTECHS
also Subscribe to my second channel
https://www.youtube.com/channel/UCM-kZGcJXJJtyHyKU-neybg
APK LINK:-
Salesforce Trailhead playlist
https://youtube.com/playlist?list=PLRU-dokJWxnOxh--ax8TpzpleBXSncKTM
Spring Boot playlist
https://www.youtube.com/playlist?list=PLRU-dokJWxnN0W1z7ITQBMsDa8WSkOIuu
Github playlist
https://www.youtube.com/playlist?list=PLRU-dokJWxnPn3UJuXA2S15CEs8wZDqgh
Music Credit:-
Music Link:-
Disclaimer :
This channel doesn't Promote or Encourage any illegal activity & All contents provided by this Channel are Meant for Educational Purpose only.
Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for "fair use" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favor of fair use
ecommercecontroller class using spring boot and react,
e commerce project using spring boot and react,
e commerce project using spring boot and reactjs,
e-commerce website using spring boot and react,
controller class in spring boot,
how to create controller class in spring boot,
web application with spring boot and react,
spring boot and react integration,
spring boot and react projects,
websocket with spring boot and angular,
spring boot and react tutorial,
project with spring boot and react,
ecommerce website using spring boot and react
viraj tech
#springboot
#spring
#springboottutorial
#javaspringboot
#learnspringboot
#springbootjava
#thymeleaf
#springmvc
#springdatajpa
#springcore
#springmaven
#maven
#mvc
#bootstrap
#tailhead
#css
#html
#java
#corejava
#advancejava
#reactjs
#react
#mysql
#database
#frontend
#backend
#fullstack
#crud
#crudoperation
#axios
#reactrouterdom
#reactrouter
#reactvite
#vitereact
#vite
#javascript
#js
#reactjavascript
#javascriptreact
#viraj_tech
#CodingTutorial
#WebDevelopment
#Programming
#LearnToCode
Welcome to my Viraj Tech YouTube channel new to the channel please subscribe to the channel... & turn on the bell icon by clicking and making it to 'all' to get more interesting and technical videos.
If you like the video or video provide you any help or support, hit the like button. For any query comment below in the comment section I will try to help you and also try to sort out all your problems as soon as possible.
Thanks for Watching...
package com.virajtech.ecommerce.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.virajtech.ecommerce.model.ECommerce;
import com.virajtech.ecommerce.service.ECommerceService;
@RestController
@RequestMapping("/ecommerce")
@CrossOrigin(origins = "http://localhost:5173")
public class ECommerceController {
@Autowired
private ECommerceService eCommerceService;
@GetMapping
public List(angled bracket)ECommerce(angled bracket) getECommerces() {
return eCommerceService.getECommerces();
}
@GetMapping("/{id}")
public ECommerce getECommerceById(@PathVariable long id) {
return eCommerceService.getECommerceById(id);
}
@PostMapping
public ECommerce saveECommerce(@RequestBody ECommerce eCommerce) {
return eCommerceService.saveECommerce(eCommerce);
}
@PutMapping("/{id}")
public ECommerce updateECommerce(@PathVariable long id, @RequestBody ECommerce eCommerce) {
return eCommerceService.updateECommerce(id, eCommerce);
}
@DeleteMapping("/{id}")
public void deleteECommerce(@PathVariable long id) {
eCommerceService.deleteECommerce(id);
}
}
----------------------------------------------------------------------------------------------------------------------------------------
INSTAGRAM :- https://www.instagram.com/VIRAJTECHS
FACEBOOK :- https://www.facebook.com/VIRAJTECHS
TWITTER :- https://twitter.com/VIRAJTECHS
TELEGRAM :- https://t.me/virajtech
GITHUB :- https://github.com/virajvicky
----------------------------------------------------------------------------------------------------------------------------------------
Subscribe to my main channel
https://www.youtube.com/c/VIRAJTECHS
also Subscribe to my second channel
https://www.youtube.com/channel/UCM-kZGcJXJJtyHyKU-neybg
APK LINK:-
Salesforce Trailhead playlist
https://youtube.com/playlist?list=PLRU-dokJWxnOxh--ax8TpzpleBXSncKTM
Spring Boot playlist
https://www.youtube.com/playlist?list=PLRU-dokJWxnN0W1z7ITQBMsDa8WSkOIuu
Github playlist
https://www.youtube.com/playlist?list=PLRU-dokJWxnPn3UJuXA2S15CEs8wZDqgh
Music Credit:-
Music Link:-
Disclaimer :
This channel doesn't Promote or Encourage any illegal activity & All contents provided by this Channel are Meant for Educational Purpose only.
Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for "fair use" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favor of fair use
ecommercecontroller class using spring boot and react,
e commerce project using spring boot and react,
e commerce project using spring boot and reactjs,
e-commerce website using spring boot and react,
controller class in spring boot,
how to create controller class in spring boot,
web application with spring boot and react,
spring boot and react integration,
spring boot and react projects,
websocket with spring boot and angular,
spring boot and react tutorial,
project with spring boot and react,
ecommerce website using spring boot and react
viraj tech
#springboot
#spring
#springboottutorial
#javaspringboot
#learnspringboot
#springbootjava
#thymeleaf
#springmvc
#springdatajpa
#springcore
#springmaven
#maven
#mvc
#bootstrap
#tailhead
#css
#html
#java
#corejava
#advancejava
#reactjs
#react
#mysql
#database
#frontend
#backend
#fullstack
#crud
#crudoperation
#axios
#reactrouterdom
#reactrouter
#reactvite
#vitereact
#vite
#javascript
#js
#reactjavascript
#javascriptreact
#viraj_tech
#CodingTutorial
#WebDevelopment
#Programming
#LearnToCode
Commentaires