Skip to content

Grocery Point of Sale (POS) System in Python Django

License

Notifications You must be signed in to change notification settings

Tunani1/django_point_of_sale

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Point of Sale (POS) 💸

Point of Sale web app for businesses made with Python and Django for learning purposes



Table of Contents:

Screenshots

Click Here

Features

  • Login Page with User authentication
  • Dashboard Page with statistics and graphs
  • DataTables with print, copy, to CSV, and to PDF buttons
  • Categories Management (CRUD)
  • Products Management (CRUD)
  • Point of Sale (POS)
    • Search and add product to list
    • Calculate automatically the subtotal, grand total, tax amount
    • Remove product from the list
    • Update Item Quantity and Recalculate Total
    • Choose sale customer
    • Sale validation paid amount and at least one product
  • Sales Management
    • List all Sales
    • View Sale details
    • Print Sale Receipt

Tech Stack

  • Frontend: HTML, CSS, JavaScript, Boostrap, SweetAlert, DataTables,
  • Backend: Django, Python, Ajax, SQLite,

Installation

  1. Clone or download the repository:

git clone https://github.com/betofleitass/django_point_of_sale

  1. Go to the project directory

cd django_point_of_sale

  1. Create a virtual environment :

PowerShell:

 python -m venv venv
 venv\Scripts\Activate.ps1

Linux:

python3 -m venv venv
source venv/bin/activate
  1. Install dependencies:
    pip install -r requirements.txt

  2. Update pip and setuptools
    python -m pip install --upgrade pip setuptools

  3. Install GTK to create the PDF files:
    Official documentation

  4. If you have Windows (Important)‼:
    Add GTK to your path variables, suppose you installed GTK at:
    C:\Program Files\GTK3-Runtime Win64\bin
    That will be your new path variable

  1. Restart your computer

Run it locally

  1. Go to the project directory: cd django_point_of_sale

  2. Make database migrations:
    python manage.py makemigrations and python manage.py migrate

  3. Create superuser python manage.py createsuperuser

    with the following data: username: admin, password: admin, email: admin@admin

  4. Run the server: python manage.py runserver

  5. Open a browser and go to: http://127.0.0.1:8000/

Contributing

Contributions are always welcome!

  • Fork this repository;

  • Create a branch with your feature: git checkout -b my-feature;

  • Commit your changes: git commit -m "feat: my new feature";

  • Push to your branch: git push origin my-feature.

Authors

License

This project is under MIT License.

Back to top ⬆️

About

Grocery Point of Sale (POS) System in Python Django

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 66.5%
  • HTML 13.2%
  • JavaScript 11.4%
  • SCSS 5.5%
  • Python 3.4%