- Technology : Bootstrap, Java, Spring Boot, MVC, Hibernate, JSP, Maven.
- Application Servicer: Apache Tomcat Server
- Database : MySQL.
- Development Platform - Eclipse
- Server - Apache Tomcat Server
- Build Tool - Maven
- Database - MySQL Database
- Go to application.properties file and get the database name & create databases in your MySQL
- Configuring tomcat with Eclipse (windows) -(https://javatutorial.net/run-tomcat-from-eclipse)
- Installation of maven in eclipse - (https://stackoverflow.com/questions/8620127/maven-in-eclipse-step-by-step-installation)
- Clone the repository and import it to eclipse
- Install Spring Tools in Eclipse IDE Marketplace.
- Run your MySQL Database/Wamp Server.
- Run Maven Build
- Run as Spring Boot Application
Use Postman to Check RESTful URLs, Download Postman
- localhost:8080/items GET
- localhost:8080/items/{id} GET
- localhost:8080/items POST
- localhost:8080/items/{id} PUT
- localhost:8080/items/{id} DELETE
- localhost:8080/customers GET
- localhost:8080/customers/{id} GET
- localhost:8080/customers POST
- localhost:8080/customers/{id} PUT
- localhost:8080/customers/{id} DELETE
- localhost:8080/sellers GET
- localhost:8080/sellers/{id} GET
- localhost:8080/sellers POST
- localhost:8080/sellers/{id} PUT
- localhost:8080/sellers/{id} DELETE
- localhost:8080/shopping/orders GET
- localhost:8080/shopping/orders/{id} GET
- localhost:8080/shopping/orders POST
- localhost:8080/shopping/orders/{id} PUT
- localhost:8080/shopping/orders/{id} DELETE
JSON Example :
{
"id": 1,
"noOfItems": 5,
"total": 5000,
"orderCreatedAt": "2017-06-11",
"payementStatus": "success"
}
- localhost:8080/payments GET
- localhost:8080/payments/{id} GET
- localhost:8080/payments POST
- localhost:8080/payments/{id} PUT
- localhost:8080/payments/{id} DELETE
-
localhost:8080/accounts GET
-
localhost:8080/accounts/{id} GET
-
localhost:8080/accounts POST
-
localhost:8080/accounts/{id} PUT
-
localhost:8080/accounts/{id} DELETE
-
localhost:8080/transactions GET
-
localhost:8080/transactions/{id} GET
-
localhost:8080/transactions POST
-
localhost:8080/transactions/{id} PUT
-
localhost:8080/transactions/{id} DELETE