Code Monkey home page Code Monkey logo

cbyadav007 / omega-plant Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 107 KB

Omega-Plant: Backend project of a Online Plant-Nursery-Management system with Razorpay-payment API. In this project Admin can signup using token only.Admin can add,delete,update plant,planter,seed details.Customer can signup, login, see planters,plants and seeds & can order all those items.

Home Page: https://github.com/Cbyadav007/omega-plant

Java 94.52% HTML 1.05% CSS 0.03% JavaScript 4.40%
hibernate java razorpay-payment-gateway spring-boot spring-jpa spring-security spring-validation css html javascript lombok mysql rest-api swagger2

omega-plant's Introduction

REST API for Online Plant Nursery Management

  • I have developed this REST API for a Plant Nursery Management system Application. This API performs all the fundamental CRUD operations of any Plant Nursery Application platform with user validation at every step.
  • This project is developed by me during project week in Masai School.

Tech Stack

  • Java
  • Spring Framework
  • Spring Boot
  • Spring Data JPA
  • Hibernate
  • MySQL
  • Spring-Security
  • Spring Validation
  • Razorpay Payment Gateway
  • Rest-API
  • Javascript
  • CSS
  • HTML
  • Lombook
  • swagger-ui

Modules

  • Login, Logout Module
  • Admin Module
  • Plants Module
  • Planters Module
  • Seeds Module

Features

  • Admin can signup using token only.
  • Real-time-payment using Razorpay-Payment Gateway.
  • User and Admin authentication & validation with session uuid.

Admin Features

  • Administrator Role of the entire application
  • Only admins can add/update/delete plants, planters, seeds from main database
  • Admin can access the details of different users and orders.

Customer Features

  • Registering themselves with application, and logging in to get the valid session token
  • Viewing list of available plants, planters, seeds and order items of them.
  • Only logged in user can access his orders, profile updation and other features.

Installation & Run

  • Before running the API server, you should update the database config inside the application.properties file.

  • Update the port number, username and password as per your local database config. server.port=8890

  • spring.datasource.url=jdbc:mysql://localhost:3307/plantstorage spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.username=root spring.datasource.password=1234

API Reference

Generate token for Admin signup

  POST  http://localhost:8890/token
Parameter Type Value
username string "Cbyadav"
password string "Cbyadav"

API End-Point

ER DIAGRAM OF PLANT NURSERY MANAGEMENT APPLICATION

Logo

omega-plant's People

Contributors

cbyadav007 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.