Giter VIP home page Giter VIP logo

liberu-ecommerce / ecommerce-old Goto Github PK

View Code? Open in Web Editor NEW
71.0 71.0 17.0 38 MB

Laravel 10 using PHP 8.2 backend for ecommerce website. Under development.

Home Page: https://www.facebook.com/liberusoftware

License: MIT License

Dockerfile 2.14% Makefile 1.20% Shell 0.45% PHP 96.11% Blade 0.11%
ecommerce ecommerce-application ecommerce-platform ecommerce-website laravel laravel10 php php8 php82

ecommerce-old's People

Contributors

alain-kay avatar benjiroarthur avatar curtisdelicata avatar dependabot[bot] avatar hnabeel64 avatar maikuolan avatar nx-benjamin-arthur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ecommerce-old's Issues

Database schema

Entities and Attributes:

a. Product:

ProductID (Primary Key)
Name
Description
Price
Category
StockQuantity
ImageURL
CreatedAt
UpdatedAt
b. Category:

CategoryID (Primary Key)
Name
c. Customer:

CustomerID (Primary Key)
FirstName
LastName
Email
PhoneNumber
Address
City
State
PostalCode
CreatedAt
UpdatedAt
d. Order:

OrderID (Primary Key)
CustomerID (Foreign Key)
OrderDate
TotalAmount
PaymentStatus
ShippingStatus
e. OrderItem:

OrderItemID (Primary Key)
OrderID (Foreign Key)
ProductID (Foreign Key)
Quantity
Price
TotalPrice
Relationships:

a. One-to-Many relationship between Category and Product:

Each category can have multiple products, but each product belongs to one category.
b. One-to-Many relationship between Customer and Order:

Each customer can place multiple orders, but each order is placed by one customer.
c. One-to-Many relationship between Order and OrderItem:

Each order can have multiple order items, but each order item belongs to one order.
d. Many-to-Many relationship between Product and OrderItem:

Each product can be in multiple order items, and each order item can have one product.
Indexes:

a. Indexes on ProductID, CategoryID, and other frequently searched attributes for efficient retrieval.

Additional Considerations:

Implement proper error handling and constraints to ensure data integrity.
Utilize appropriate data types and constraints (e.g., not null, unique, foreign keys) based on the requirements.
Consider adding more attributes or entities based on the specific needs of the online merch store, such as reviews, discounts, promotions, etc.
This schema provides a basic structure for an online merchandise store database. Depending on the complexity and specific requirements of your application, you may need to further refine and optimize the schema.

Modular approach

Problem Statement:

Our Laravel-based e-commerce application is structured to incorporate modular functionality to enhance maintainability, scalability, and code reusability. However, we are currently encountering challenges in effectively utilizing modules within the application.

Expected Behavior:

The application should seamlessly integrate and utilize modules to facilitate a modular architecture that allows for easier development, maintenance, and enhancement of specific features and functionalities.

Required:

Implement https://github.com/nWidart/laravel-modules

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.