Git Product home page Git Product logo

bilaf's Introduction

Bilaf

Back-End application developed by utilizing the following:

  • Python
  • Django Framework
  • PostgreSql

A website dedicated to promoting and selling family-brand products. Bilaf serves as a bridge between consumers and families; rather than utilizing other platforms to reach them, Bilaf provides a more convenient approach to reaching them.

Feature List

Unregistered Client

  • Browsing the brands.
  • Browsing the brand's products.
  • Searching for a product or brand.
  • Filtering the brands based on a specific cuisine.

Client

  • Browsing the brands.
  • Browsing the brand's products.
  • Searching for a product or brand.
  • Filtering the brands based on a specific cuisine.
  • Editing the cart before making a purchase.
  • Making a purchase.
  • Viewing the order status.
  • Rate the order.
  • Viewing past orders.

Product Owner

  • Editing their products.
  • Orders will be approved based on the given Delivery\Pickup availability.
  • Reply to client's review
  • Performance dashboard for the brand.

Admin

  • Accept\Decline the merchant.
  • Decline certain orders.
  • Performance dashboard for all the brands.
  • Replying to the client's review.

User Stories

Unregistered Client

  • As a visitor, I can browse the brands.
  • As a visitor, Or browse the brand's products.
  • As a visitor, Or search for a product or brand.
  • As a visitor, Or filter the brands based on a specific cuisine.
  • As a visitor, Or register to make any purchases.

Client

  • As a Client, I can browse the brands.
  • As a Client, Or browse the brand's products.
  • As a Client, Or search for a product or brand.
  • As a Client, Or filter the brands based on a specific cuisine.
  • As a Client, Or edit the cart before making a purchase.
  • As a Client, Or making a purchase.
  • As a Client, Or view my order status.
  • As a Client, Or rate the order.
  • As a Client, Or viewing past orders.

Product Owner

  • As an owner, I can edit my products.
  • As an owner, Or provide an indication on my Delivery\Pickup availability, for order approvals.
  • As an owner, Or view my brand's performance dashboard.
  • As an owner, Or reply to the client's review.

Admin

  • As the Admin, I can accept\decline the merchant that wants to regsiter on my platform.
  • As the Admin, Or decline certain orders.
  • As the Admin, Or view the performance dashboard for all the brands.

Website Wireframe

Figma's link for the wireframe

Models

user:

  • id
  • first_name
  • last_name
  • email
  • password

Profile:

  • user = OneToOneField(User)
  • phone_number = CharField

Store:

  • owner = ForeignKey(User)
  • store_name = CharField
  • category = (CHOICES)
  • logo = ImageField
  • about = TextField
  • pick_up_enabled = BooleanField(default=True)
  • delivery_enabled = BooleanField(default=True)
  • twitter_link = URLField
  • instagram_link = URLField
  • snapchat_link = URLField

Categories:

  • name = CharField
  • logo = ImageField
  • store = ForeignKey(Store)

Product:

  • store = ForeignKey(Store)
  • category = ForeignKey(Categories)
  • price = FloatField
  • quantity = IntegerField
  • is_active = BooleanField(default=True)
  • name = CharField
  • description = TextField
  • image = ImageField

Cart:

  • DELIVERY_CHOICES = (CHOICES)
  • PAYMENT_CHOICES = (CHOICES)
  • store = ForeignKey(Store)
  • customer = ForeignKey(User)
  • status = (CHOICES)
  • created_at = models.DateTimeField(auto_now_add=True)
  • due_date = models.DateTimeField(blank=True, null=True)

CartItem:

  • cart = ForeignKey(Cart)
  • product = ForeignKey(Product)
  • quantity = PositiveIntegerField
  • price = PositiveIntegerField

Members

UML diagrams

Use-Case Diagram:

Screenshot 2023-06-13 220053

ER Diagram:

Screenshot 2023-06-21 222425

bilaf's People

Contributors

97mk avatar amalsaab avatar faisal-alhussain avatar omar-ali99 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.