Market-Ecommerce is a web-based e-commerce platform built with Python using the Django framework and PostgreSQL as the database. This project provides a robust foundation for an online marketplace, including features such as user authentication, product management, and order processing.
- User registration and authentication
- Product listing and detailed views
- Shopping cart and order management
- Admin dashboard for managing products and orders
To run this application, you will need the following installed:
- Clone the repository:
git clone https://github.com/Azizbekdevn1/market-ecommerce.git
- Navigate to the project directory:
cd market-ecommerce
- Set up a virtual environment and install dependencies:
pip install -r requirements.txt
- Create a
.env
file in the root directory and add your database configuration and secret key:SECRET_KEY='your_secret_key' DB_NAME='your_db_name' DB_USER='your_db_user' DB_PASSWORD='your_db_password' DB_HOST='localhost' DB_PORT='5432'
- Apply migrations to set up the database:
python manage.py migrate
- Create a superuser for accessing the Django admin interface:
python manage.py createsuperuser
- Collect static files:
python manage.py collectstatic
To run the development server, use the following command:
python manage.py runserver