Skip to content

sholker/Chocolux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChocoLux Project

Create by Ori Shai


about-img.png

ChocoLux is a web application for a chocolate company, allowing users to view and purchase various chocolate items.

Table of Contents

Features

Client's Features

  • View a list of chocolate items with details.
  • Add/Remove items to the shopping cart.
  • Check out and place orders.

Admin's Features

  • Add new Items to the database.
  • Show reports on the order history.

DB Structure:

DB_tables

SQL Quiries:

  • Tables (like to sql query file):

Sqeuence Diagrams:

sequence _diagram.jpeg

Getting Started

Prerequisites

Make sure you have the following installed:

  • Python (version 3.11.6)
  • Flask (version 3.0.0)
  • mySQL (version 8.0.26)

Installation

  1. Clone the repository: https://github.com/sholker/Chocolux.git
  2. cd chocolux
  3. pip install -r requirements.txt
  4. Windows:
      set FLASK_APP=app.py
      set FLASK_ENV=development
      flask run
    Linux:
       git clone https://github.com/sholker/Chocolux.git
       cd chocolux
        export FLASK_APP=app.py
        export FLASK_ENV=development

Usage

  • To run the application, run the following command in the terminal:
  • flask run
    # then in browser, open
    http://127.0.0.1:5000/
    

Reference

Frontend

Login Details:

Type Username Password
Client daredevil 123
Client spiderman 123
Client deadpool 123
Admin moonknight admin
Admin admin admin

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published