This project is an e-commerce website developed as part of a school assignment. It showcases a simple yet functional online store, where users can browse products, search for items, and manage their accounts.
- React: For the frontend user interface.
- Django: For the backend server and API.
- SQLite: For the database.
- Navigate to the backend directory:
cd backend/
- Start the Django server:
python3 manage.py runserver
- Navigate to the frontend directory:
cd frontend/
- Install the necessary npm packages:
npm install
- Start the React application:
npm start
-
To access the Django admin dashboard, go to:
http://localhost:8000/admin/
-
To access the website admin panel, go to:
http://localhost:3000/
-
If you want to create a superuser, use the following command:
python3 manage.py createsuperuser
- Store owners can add, edit, or delete products.
- Customers can purchase products and receive product information via email.
- Products can be reviewed by customers.
For mail operations, you need to edit the section in settings.py
according to your own email configuration.
Login page for user authentication. | Adding a new product to the store.
Customers leaving comments on products. | Another view of product comments.
Detailed view of a product. | List of products available in the store.
Overview of all products. | User's purchase history.
Registration page for new users. | User's shopping basket.
Checkout process for purchasing products. | Editing an existing product.
Front-end design is inspired by the React_E-Commerce repository.
Thank you for the assistance.