"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.
- 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.
- 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.
- Product Management: Admins can update product details and manage the status of orders.
- Clone the repository
git clone https://github.com/sreenath-pydev/Ecommerce_project.git cd Ecommerce - Create and activate a virtual environment
python -m venv env source env/bin/activate # On Windows, use `env\Scripts\activate`
- Install the required packages
pip install -r requirements.txt
- Apply migrations
python manage.py makemigrations ec_app python manage.py migrate
- Create a superuser for the admin panel
python manage.py createsuperuser
- Run the developer server
python manage.py runserver
- Access the appilcation
- Open your browser and go to http://127.0.0.1:8000/ to view the frontend.
- Go to http://127.0.0.1:8000/admin/ to access the admin panel.
To view the full products and the product details pages with full functionality, follow these steps:
- Log in to the Admin Panel: Use the superuser credentials created earlier to log in to the admin panel.
- Add Products:
- Navigate to the Products section in the admin panel.
- Add new product entries by providing details such as name, description, price, and image.
- Save the changes, and the products will be visible on the index page and product details page.
- Browse products on the index and products pages.
- View detailed information on the single product page.
- Register and log in to make purchases.
- Log in to the admin panel to manage products.
- If you would like to contribute to this project, please fork the repository and submit a pull request.
- This project is licensed under the MIT LICENSE.
- 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.
