Skip to content

yosbelm/myEcommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ecommerce pic

myEcommerce

You can access the project website at candonga.pythonanywhere.com using the username and password 'candonga'.

Project Overview

myEcommerce is a Django-based eCommerce application designed to provide a seamless online shopping experience. The project is structured to demonstrate Django's capabilities in managing an eCommerce platform, including product listing, user authentication, and cart management. Additionally, it includes a chatbot feature that answers questions about the site's content, specifically for the keyboard sales manager.

Table of Contents

  1. Installation
  2. Usage
  3. Features
  4. Project Structure
  5. Contributing
  6. License
  7. References

Installation

Prerequisites

  • Python 3.x
  • Django 3.x
  • SQLite (default database)

Steps

  1. Clone the repository:

    git clone https://github.com/yosbelm/myEcommerce.git
    cd myEcommerce
  2. Create and activate a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
  3. Install the required packages:

    pip install -r requirements.txt
  4. Apply migrations and run the server:

    python manage.py migrate
    python manage.py runserver
  5. Access the application:

    Open your browser and go to http://127.0.0.1:8000/.

Usage

Admin Panel

To access the admin panel:

  1. Create a superuser:

    python manage.py createsuperuser
  2. Log in to the admin panel at http://127.0.0.1:8000/admin.

Adding Products

Products can be added via the admin panel. Navigate to the Products section and add new products with their details.

Features

  • User authentication (registration, login, logout)
  • Product listing
  • Shopping cart
  • Order management
  • Chatbot for answering questions about the site's content, specifically for the keyboard sales manager

Project Structure

myEcommerce/
│
├── ecommerceApp/
│   ├── migrations/
│   ├── static/
│   ├── templates/
│   ├── __init__.py
│   ├── admin.py
│   ├── apps.py
│   ├── models.py
│   ├── tests.py
│   └── views.py
│
├── ecommerceProject/
│   ├── __init__.py
│   ├── asgi.py
│   ├── settings.py
│   ├── urls.py
│   └── wsgi.py
│
├── db.sqlite3
├── manage.py
└── requirements.txt

Contributing

We welcome contributions! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature-branch
  3. Commit your changes:
    git commit -am 'Add new feature'
  4. Push to the branch:
    git push origin feature-branch
  5. Create a new Pull Request.

References

Django Documentation

Django Admin Interface

Django Models

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published