Giter VIP home page Giter VIP logo

crud-java-spring's Introduction

crud-java-spring's People

Contributors

michaelads avatar

Stargazers

Alex Alves avatar

Watchers

 avatar

Forkers

sriramaleti9238

crud-java-spring's Issues

Create the User, Product, Cart, and Checkout features.

The ideia is bring the flow, for that implement the following requirements:
It looks like you have a good set of entities for an E-commerce CRUD application. However, to create a comprehensive set of acceptance criteria, we need to define the attributes and relationships for each entity. Here's a basic set of acceptance criteria for each entity:
image

User - Delivery Acceptance Criteria

1. Track Shipment:

  • As a user, I want to be able to track the shipment of my order.
  • Acceptance Criteria:
    • I can find the tracking number associated with my order.
    • The system provides a link or a section where I can enter the tracking number to check the status.
    • The status should be updated in real-time.

2. Receive Shipment Notifications:

  • As a user, I want to receive notifications about the status of my shipment.
  • Acceptance Criteria:
    • I receive an email or SMS notification when the order is shipped.
    • Additional notifications are sent for key milestones (e.g., In Transit, Out for Delivery, Delivered).

3. View Estimated Delivery Date:

  • As a user, I want to know the estimated delivery date for my order.
  • Acceptance Criteria:
    • The estimated delivery date is displayed during the checkout process.
    • I can view the estimated delivery date in the order details section.

4. Provide Delivery Instructions:

  • As a user, I want the option to provide specific delivery instructions.
  • Acceptance Criteria:
    • During the checkout process, there is a section to add special delivery instructions.
    • The delivery personnel are informed about these instructions.

5. Update Delivery Address:

  • As a user, I want the ability to update the delivery address before the order is shipped.
  • Acceptance Criteria:
    • I can modify the delivery address in the order details until the order is marked as shipped.

6. View Past Deliveries:

  • As a user, I want to access a history of my past deliveries.
  • Acceptance Criteria:
    • There is a section in my account profile where I can view a list of past orders and their delivery statuses.

7. Request Return/Refund:

  • As a user, I want a straightforward process to initiate a return or request a refund for undelivered or damaged items.
  • Acceptance Criteria:
    • There is a clearly defined process or link in my account to initiate a return or request a refund.
    • The system guides me through the necessary steps.

Business Rules:

  1. Users must have a unique email address.
  2. Products must have a unique name.
  3. Order total amount should be the sum of the products in the order.
  4. Cart should be associated with a user and contain a list of products with quantities.
  5. Checkout should create an order from the cart, and the cart should be cleared.
  6. Payment should be associated with an order and include the payment amount and method.
  7. Shipment should be associated with an order and include shipment details and status.

Entities

image

User

  • Attributes:
    • UserID (Primary Key)
    • FirstName
    • LastName
    • Email
    • Password
    • Address
    • PhoneNumber

Product

  • Attributes:
    • ProductID (Primary Key)
    • Name
    • Description
    • Price
    • StockQuantity

Order

  • Attributes:
    • OrderID (Primary Key)
    • UserID (Foreign Key to User)
    • OrderDate
    • TotalAmount

Cart

  • Attributes:
    • CartID (Primary Key)
    • UserID (Foreign Key to User)
    • Products (List of ProductIDs with quantities)

Checkout

  • Attributes:
    • CheckoutID (Primary Key)
    • CartID (Foreign Key to Cart)
    • CheckoutDate
    • TotalAmount

Payment

  • Attributes:
    • PaymentID (Primary Key)
    • OrderID (Foreign Key to Order)
    • PaymentDate
    • Amount
    • PaymentMethod

Shipment

  • Attributes:
    • ShipmentID (Primary Key)
    • OrderID (Foreign Key to Order)
    • ShipmentDate
    • TrackingNumber
    • Status (e.g., Shipped, Delivered)

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.