Skip to content

sreenath-pydev/Ecommerce_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ecommerce

1

Project Overview

"Ecommerce" is an online platform for selling organic food products. The project is built using Python and Django for the backend, and Bootstrap, CSS, and JavaScript for the frontend. SQLite is used as the database. The project includes features such as single product view user authentication, and an admin panel for managing products and orders.

Tools and Technologies Used

  • Python: The main programming language used.
  • Django: A high-level Python web framework for rapid development.
  • Bootstrap: A front-end framework for responsive web design.
  • CSS: For styling the web pages.
  • JavaScript: For dynamic interactions on the web pages.
  • Git: For version control.

Features

Frontend

  • Index Page: Displays the latest products. The page is updated automatically when a new product is added.
  • Single Product Page: Provides detailed information about a specific product.
  • Login and Register Pages: User authentication for accessing the cart and making purchases.

Backend (Admin Panel)

  • Product Management: Admins can update product details and manage the status of orders.

Setup Instructions

  1. Clone the repository
    git clone https://github.com/sreenath-pydev/Ecommerce_project.git
    cd Ecommerce
  2. Create and activate a virtual environment
    python -m venv env
    source env/bin/activate
    # On Windows,
    use `env\Scripts\activate`
  3. Install the required packages
    pip install -r requirements.txt
  4. Apply migrations
    python manage.py makemigrations ec_app
    python manage.py migrate
  5. Create a superuser for the admin panel
    python manage.py createsuperuser
  6. Run the developer server
    python manage.py runserver
  7. Access the appilcation

Adding Products to the Database

To view the full products and the product details pages with full functionality, follow these steps:

  1. Log in to the Admin Panel: Use the superuser credentials created earlier to log in to the admin panel.
  2. Add Products:
  3. Navigate to the Products section in the admin panel.
  4. Add new product entries by providing details such as name, description, price, and image.
  5. Save the changes, and the products will be visible on the index page and product details page.

Usage

Frontend

  • Browse products on the index and products pages.
  • View detailed information on the single product page.
  • Register and log in to make purchases.

Backend

  • Log in to the admin panel to manage products.

Contributing

  • If you would like to contribute to this project, please fork the repository and submit a pull request.

License

  • This project is licensed under the MIT LICENSE.

Acknowledgements

  • Special thanks to the Django and Bootstrap communities for their excellent documentation and support.
  • You can customize the repository URL and any other specific details according to your project setup. This README provides a clear overview and instructions for setting up and running your Django e-commerce project.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors