PhoneShop is a simple e-commerce website for buying and selling mobile phones. This repository contains the source code for the PhoneShop project.
- User authentication and registration.
- Browse and search for mobile phones.
- Add mobile phones to the shopping cart.
- Checkout and place orders.
- Admin panel for managing products and orders.
- Responsive design for mobile and desktop.
- Django: Backend web framework.
- HTML, CSS, JavaScript: Frontend development.
- SQLite: Database for development.
- PostgreSQL: Database for production (optional).
- Bootstrap: Frontend CSS framework.
To run this project locally, follow these steps:
- Clone this repository:
git clone https://github.com/JustWriteCode0/PhoneShop.git
- Change to the project directory:
cd PhoneShop
- Install the required dependencies:
pip install -r requirements.txt
- Create and apply database migrations:
python manage.py makemigrations
andpython manage.py migrate
- Create a superuser for admin access:
python manage.py createsuperuser
- Start the development server:
python manage.py runserver
- Visit
http://localhost:8000
in your web browser to access the PhoneShop website. - Use the admin panel at
http://localhost:8000/admin
to manage products and orders (login with superuser credentials created in step 5 of "Getting Started").
Catalog with all products
Select products by company
Shopping cart with all the products you have selected, the quantity can be changed or deleted.
Page with information about product with carousel
Your orders with status such as - preparing, in the way, delivered