Coder Social home page Coder Social logo

usedbookstorewebapp's Introduction

Used Textbook Buy/Selling Spring Boot Project

Introduction

This Project was made as part of CSE687-Object Oriented Design. It is a Used Textbook Buy/Selling platform developed with Spring Boot, emphasizing Object Oriented Design principles. It features a modular, maintainable, and scalable architecture, ideal for buying and selling used books.

Features

  • Buying and selling used books
  • Comprehensive list and detailed view of books
  • User management functionalities

Modularization

  • Modules: Controller, Exception, Model, Repository, Service

Endpoints

Book Service Endpoints

  • GET /books: Retrieve all books.
  • GET /books/id/{bookId}: Fetch book by ID.
  • POST /AddBook: Add a new book.
  • PUT /UpdateBook: Update book details.
  • DELETE /DeleteBook/{bookId}: Delete a book.

User Service Endpoints

  • GET /users/allUsers: Get all users.
  • GET /users/{userId}: Fetch user by ID.
  • POST /users/create: Create a new user.
  • PUT /users/update: Update user details.
  • DELETE /users/delete/{userId}: Delete a user.

Book Copy Service Endpoints

  • GET /bookcopies: Get all book copies.
  • GET /bookcopies/{copyId}: Fetch book copy by ID.
  • POST /bookcopies: Create a new book copy.
  • PUT /bookcopies/update: Update book copy details.
  • DELETE /bookcopies/delete/{copyId}: Delete a book copy.

Transaction Service Endpoints

  • POST /transactions/buy: Buy a book.
  • POST /transactions/sell: Sell a book.

Database Design

image

Object Oriented Design

  • Principles like Encapsulation, Inheritance, and Composition are implemented.

Design Patterns

  • Template Design Pattern
  • Singleton Design Pattern used in Service and Controller classes.

Deployment

Easily deployable via Docker Compose, just use the following command:-

Docker-Compose up

usedbookstorewebapp's People

Contributors

srelan46 avatar rk000143 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.