ShopSpot is a clone of Amazon, designed to offer a similar online shopping experience. It allows users to browse and purchase products, view product details, manage their shopping cart, and complete orders. The platform supports features such as user authentication, product filtering by categories and price, customer reviews, and order tracking. This project is built using Django for the backend and React.js for the frontend, providing a robust and dynamic user interface.
- User Authentication: Secure login and registration for users.
- Product Browsing: Browse a wide range of products categorized by type.
- Shopping Cart: Add products to the cart and manage quantities before purchase.
- Order Management: Track orders from placement to delivery.
- Product Filtering: Filter products by categories, price, and ratings.
- Customer Reviews: View and add reviews to products.
- Backend: Django
- Frontend: React.js
- Database: sqlite3
- API: Django REST Framework
-
Clone the Repository:
git clone https://github.com/OmarElzero/ShopSpot.git cd ShopSpot -
Set Up Virtual Environment:
-
On Windows:
python -m venv venv venv\Scripts\activate
-
On macOS/Linux:
python3 -m venv venv source venv/bin/activate
-
-
Install Dependencies:
pip install -r requirements.txt
-
Configure Environment Variables:
Create a
.envfile based on.env.exampleand update it with your settings. -
Apply Migrations:
python manage.py migrate
-
Create a Superuser (Optional):
python manage.py createsuperuser
-
Run the Development Server:
python manage.py runserver
-
Front-End Setup:
If you need to work on the front-end, ensure you have Node.js and npm installed. Navigate to the front-end directory and run:
npm install npm start
-
Access the Application:
Open your browser and go to
http://127.0.0.1:8000/.
- Ensure you have any necessary API keys and credentials in your
.envfile. - Follow specific instructions in the front-end README if there are additional setup steps.