Skip to content

REST API for an Online Plant Nursery Platform that allows customers to view the list of plants, seeds, and planters.

Notifications You must be signed in to change notification settings

shubhamyv13/miniature-mountain-3002

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

ER_Diagram

ERDiagram

TECH_STACK

  • JAVA
  • SPRING
  • SPRINGBOOT
  • HIBERNATE
  • MAVEN
  • MYSQL
  • JPQL
  • HTML
  • CSS
  • JAVASCRIPT

TECH_STACK

  • SPRING DATA JPA
  • SPRING BOOT DEVTOOLS
  • SPRING WEB
  • HIBERNATE
  • MYSQL DRIVER
  • VALIDATION
  • LOMBOK

TECH_STACK

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" 

Run Locally

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/

TECH_STACK