https://github.com/danielc92/django-order-system
Designing a commercial order system using Django Framework.
https://github.com/danielc92/django-order-system
Last synced: about 2 months ago
JSON representation
Designing a commercial order system using Django Framework.
- Host: GitHub
- URL: https://github.com/danielc92/django-order-system
- Owner: danielc92
- Created: 2019-06-15T12:36:38.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-16T00:23:48.000Z (about 7 years ago)
- Last Synced: 2025-03-12T23:02:02.156Z (over 1 year ago)
- Language: Python
- Size: 21.5 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Order System
Designing an order system in Django Framework. Include login/register/logout/admin functionality, as well as Product/Order/ProductOrder relational database implementation.
# Before you get started
- Basic understanding of Django (forms, urls, models, templates, jinja)
- Understanding of many to many and one to many database design principles
# Available Routes
- `http://localhost:8000/register` The registeration page.
- `http://localhost:8000/login` The login page. Redirects to home page if user is authenticated.
- `http://localhost:8000/` The home page with products. Requires authentication.
- `http://localhost:8000/order` The order summary page. Requires authentication.
- `http://localhost:8000/confirm-order` The confirm order route. Allows user to mark their order as confirmed, so that it can be flagged for delivery/shipping by administrator. Requires authentication.
- `http://localhost:8000/add-to-cart//` Called from the home page, used to add items to users order. Requires authentication.
# Setup
**How to obtain this repository:**
```sh
git clone https//link.to.this.projects.git-repo
```
**Modules/dependencies:**
- `django`
- `python3`
# Tests
- Adding items to order summary
- Confirmation of orders (flips flags (confirmed/order_status) on orders and orderproduct items)
- Aggregate total order and unconfirmed order items in ProductOrder model for Summary
# Todo
- Add delete from cart functionality
# Contributors
- Daniel Corcoran
# Sources
- [Django Docs](https://docs.djangoproject.com/en/2.2/)