REST API for an Online Plant Nursery Platform that allows customers to view the list of plants, seeds, and planters. The application also includes user and admin validation and authentication.
- JAVA
- SPRING
- SPRINGBOOT
- HIBERNATE
- MAVEN
- MYSQL
- JPQL
- HTML
- CSS
- JAVASCRIPT
- SPRING DATA JPA
- SPRING BOOT DEVTOOLS
- SPRING WEB
- HIBERNATE
- MYSQL DRIVER
- VALIDATION
- LOMBOK
Install the Spring Tools Suite
https://spring.io/tools
Install MySQL Community Server
https://dev.mysql.com/downloads/mysql/
Clone the Repository
git clone https://github.com/shubhamyv13/miniature-mountain-3002.git
Open MySQL Server
Create a New Database in SQL: "plant"
Go to the Project Directory
Open the PlantAndPlanters Folder with S.T.S
Go to src/main/resources > application.properties & change your username and password (MySQL server username & password)
spring.datasource.username="username"
spring.datasource.password="password"
To change the Server Port
server.port=8888
Go to com.masai package > PlantAndPlantersApplication.java
Run as Spring Boot App
Open the following URL for Swagger-UI
http://localhost:8888/swagger-ui/