Skip to content

Online nursary managment system. creating rest api and maintaining all records of customer and plants

Notifications You must be signed in to change notification settings

Pankajsharma8221/Online-Nursery-Management

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

FLORA FORT

Logo

Acknowledgements:

FLORA FORT is a online garden store with vast collection of plants, seeds and garden accessories.A one-stop-shop for all gardening related requirements, FLORA FORT has more than 6000 products available online for delivery across India saving you numerous messy trips to various nurseries.We cater to all kinds of gardening needs ranging from plants, pots, tools, to curated plant-scaping solutions. Our ever-growing platform integrates nurseries and customers across India.

Functions:

Base:

  • FloraFortApplication

Controller:

  • AdminController
  • CustomerController
  • OrderController
  • PlantController
  • PlanterController
  • SeedController

Repository:

  • AdminRepository
  • CustomerRepository
  • CurrentUserSessionRepository
  • OrderDao
  • PlanterRepo
  • PlantRepo
  • SeedRepository

Service:

  • AdminService
  • AdminServiceImpl
  • CustomerService
  • CustomerServiceImpl
  • OrderService
  • OrderServiceImpl
  • PlanterService
  • PlanterServiceImpl
  • PlantService
  • PlantServiceImpl
  • SeedService
  • SeedServiceImpl

Model:

  • Admin
  • Customer
  • CurrentUserSession
  • Order
  • Plant
  • Planter
  • Seed

DTO:

  • LoginDTO
  • LogoutDTO

Exceptions:

  • AdminException
  • CustomerException
  • GlobalErrorException
  • MyErrorDetails
  • OrderException
  • PlanterException
  • PlantException
  • SeedException

Teck Stacks:

  • Java
  • Hibernate
  • SpringBoot
  • REST API
  • Lombok
  • SQL
  • Swagger
  • Postman

Class method design:

image

Class module design:

image

ER Diagram:

alt text

Restrictions:

  • Before performing any task the user should be confirmed whether the user is Admin or Customer and for that the user should have logged in.
  • For each contoller we need to provide the login details for implementation of particular methods i.e, if the customer wants to purchase some planter then he/she should give his/her correct name during purchasing session and only customer can perform that action and for that One to Many relationship is established.
  • If we want to add some plants or seeds then only admin can do that so here we have provided the validation i.e during adding a particular item user should give the correct name of the admin otherwise it will throw an exception and that exception is properly handled.

Team members & contributions:

[click to see GitHub profile]

  1. Nikhil Chauhan(Teamlead)
  • AdminController.java
  • CustomerController.java
  • AdminRepository.java
  • CustomerRepository.java
  • CurrentUserSessionRepository.java
  • LoginDTO.java
  • LogoutDTO.java
  1. Subojit Mukherjee
  • PlantController.java
  • PlantRepo.java
  • PlantService
  • PlantServiceImpl
  • Plant.java
  • PlantException
  1. Atabur Rahaman Mollah
  • SeedController.java
  • SeedRepository.java
  • SeedService.java
  • SeedServiceImpl.java
  • Seed.java
  • SeedException.java
  1. Sudarshan Shinde
  • OrderController.java
  • OrderDao.java
  • OrderService.java
  • OrderServiceImpl.java
  • Order.java
  • OrderException.java
  1. Pankaj Sharma
  • PlanterController.java
  • PlanterRepo.java
  • PlanterService.java
  • PlanterServiceImpl.java
  • Planter.java
  • PlanterException.java

About

Online nursary managment system. creating rest api and maintaining all records of customer and plants

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%