Skip to content

elghallali/eShop

Repository files navigation

fsjest






DSDS


IRY Tech




Carried out by

Student Name APOGEE CNE
Issam EL MEHDI 22017585 P110127478
Rabia AISSAOUI SLAOUI 19005290 P149016790
Yassine EL GHALLALI 22017586 Z196800709

Framed by : Lotfi EL AACHAK

Note

Dear Reader,

I hope this note finds you well. I wanted to remind you that all the documents and application web that you have been using are meant for study purposes only. It's important to keep in mind that these resources should not be used for any illegal or unethical activities.

Furthermore, it's crucial to respect the copyrights and intellectual property rights of the owners of these resources. As such, please refrain from distributing, sharing or using these materials for any commercial or personal gain.

I encourage you to use these resources responsibly and make the most out of them for your academic and personal growth. Keep in mind that knowledge is power, and the more you learn, the better equipped you will be to face any challenges that come your way.

Best regards,

Our Team

📑 Description

In today's digital age, e-commerce has become an integral part of our daily lives. With the growing popularity of online shopping, it's no surprise that many businesses have turned to e-commerce as a way to reach a wider audience and expand their customer base. One such business is IRY Tech, an e-commerce project that specializes in the sale of electronic materials such as appliances, televisions, cameras, and computers.

IRY Tech is an innovative e-commerce platform that offers a wide range of electronic materials at competitive prices. The platform is designed to provide customers with a seamless and convenient shopping experience. Whether you are looking to purchase a new laptop, a high-definition television, or a top-of-the-line camera, IRY Tech has got you covered.

One of the key features that sets IRY Tech apart from other e-commerce platforms is its user-friendly interface. The platform is easy to navigate, and customers can quickly find what they are looking for without having to sift through countless pages. The search function is intuitive and can help customers narrow down their search to find the exact product they need.

Another feature that makes IRY Tech a top choice for online shoppers is its robust customer support. The team at IRY Tech is dedicated to providing excellent customer service, and they are always available to answer any questions or concerns that customers may have. Whether you need assistance with placing an order or have a question about a product, the customer support team is always happy to help.

In addition to its user-friendly interface and excellent customer support, IRY Tech also offers a wide range of payment options. Customers can choose to pay with a credit card, debit card, or through a third-party payment platform such as PayPal. This flexibility ensures that customers can complete their transactions with ease and convenience.

Finally, IRY Tech is committed to providing its customers with high-quality products at competitive prices. The platform works with some of the most reputable manufacturers in the industry to ensure that customers receive products that are reliable, efficient, and durable. IRY Tech also regularly updates its inventory to keep up with the latest trends and technologies in the industry, so customers can always find the newest and most innovative products.

In conclusion, IRY Tech is an exceptional e-commerce platform that offers a wide range of electronic materials at competitive prices. Its user-friendly interface, robust customer support, and flexible payment options make it a top choice for online shoppers. If you're in the market for electronic materials, be sure to check out IRY Tech for all your shopping needs.


⛓️ Development


🛠️ Development Tools


Python  Django    VSCode  CSS  HTML  JavaScript  Bootstrap      Docker  Figma  Markdown 


🔧 Class Diagram

classDiagram
    class Product{
        id: int
        title: string
        selling_price : float
        discounted_price : float
        description : string
        category: string
        image_url : string
    }
    class Cart{
        id: int
        quantity: int
        user : User
        product : Product
    }
    class User{
        id: int
        email: string
        username : string
        last_name : string
        last_name : string
        password : string
        is_activate : boolean
        is_staff : boolean
        is_superuser : boolean
        date_joined : Date
        last_login : Date
    }
    class Customer{
        id: int
        name: string
        locality : string
        city : string
        mobile : int
        state : string
        zipcode : int
        user : User
    }
    class PostMessageContact{
        id: int
        name: string
        email : string
        content : string
        created : Date
    }
    class UserGroups{
        id: int
        user: User
        group : Group
    }
    class Group{
        id: int
        name: string
    }
    Cart "1" .. "1..*" Product
    Cart "1..*" .. "1" User
    Customer "*" .. "1" User
    UserGroups "1..*" .. "*" User
    UserGroups "1..*" .. "*" Group
Loading

📋 Design


⚙️ deployment

Crreate a new folder named eShop and open it with Command Prompt, Terminal or VSCode

If you opened it with VSCode then open its terminal and do the following instructions to complete!

Download this application using git

git clone https://github.com/elghallali/eShop.git .

Create a virtuial environment

python -m venv env

Activate the virtuial environment

.\env\Scripts\activate

Install requirements

pip install -r requirements.txt 

Editing the settings.py file

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'data',
        'USER': 'root',
        'PASSWORD': '', # PASSWORD is the root password (is empty if your root doesn't have a password)
        'HOST': '127.0.0.1',
        'PORT': '3306',
    }
}

⚠️ Create a database named data using MySQL Workbench, MySQL Command Line or phpMyAdmin ⚠️

Create migrations

python manage.py makemigrations

Migrate migrations

python manage.py migrate

Create superuser

python manage.py createsuperuser

Run the server

python manage.py runserver

💻 Application


🏢 Conclusion

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published