Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.51 KB

README.md

File metadata and controls

47 lines (32 loc) · 1.51 KB

Shop project

Python Version Django Version

Web application built by django framework.

Overview

The shop project contains three applications:

  • users, for the management of users (both staff and customer)
  • products, for the management of products
  • sells, for the management of orders

Header for administrators

The header of the Shop for administrators contains:

  • Products, to manage the available products (add, update, delete),
  • Orders, to view the validated orders of all the customers,
  • Customers, to register new users as administrators or customers (Django Administration view of users)
  • Log out, to log out from the App.

Header for customers

The header of the Shop for customers contains:

  • Products, to see all the available products and add them to their basket,
  • Orders, to view the validated orders (history on previous orders),
  • Basket, to see the content of the basket and update it (remove products, increment/decrement quantity of a product)
  • Log out, to log out from the App.

Running project

Install require packages

pip install -r requirements.txt

Migrate project

python3 manage.py migrate

Create a superuser

python3 manage.py createsuperuser

Run your server on your localhost

python3 manage.py runserver

Running tests

python3 manage.py test