Skip to content

Danzigerrr/Inventory-Management-System-using-Django

Repository files navigation

Repo Banner

Inventory and Sales Management System

License: MIT Build Status Python Version Django Version

This is a Django-based web application designed to manage the inventory and sales for a small business that sells handmade crafts and art supplies. The application provides functionalities to track inventory levels, process sales, and generate reports.

The application is live here: Demo link. The project is hosted on PythonAnywhere ❤️🐍

Features

  • Inventory Management: Track stock levels, receive new inventory, and update inventory levels as items are sold.
  • Sales Processing: Process sales in both the physical store and the online store, and automatically update inventory levels accordingly.
  • Reporting: Generate reports on sales, inventory levels, and customer data, such as popular products and customer purchase histories.
  • User-Friendly Interface: Easy-to-use interface for the business owner and employees.
  • Security: Password-protected access and regular data backups.
  • Scalability: Designed to accommodate future business growth.

Installation

  1. Clone the Repository

    git clone https://github.com/Danzigerrr/Inventory-Management-System-using-Django.git
    cd inventory_management
  2. Create and Activate a Virtual Environment

    python -m venv venv
    source source .venv/Scripts/activate
    
  3. Install Dependencies

    pip install -r requirements.txt
  4. Run Migrations

    python manage.py migrate
  5. Insert sample data into database

    python manage.py populate_db
  6. Create a Superuser

    python manage.py createsuperuser
  7. Run the Development Server

    python manage.py runserver
  8. Access the Application

    • Open your browser and go to http://127.0.0.1:8000/

Usage

Admin Interface

  • Visit http://127.0.0.1:8000/admin/ to access the Django admin interface.
  • Log in with the superuser credentials.
  • Manage products, inventory transactions, sales, and customer data through the admin interface.

Django Admin Page

The admin can also log in to the system and manage the inventory, sales, and customer data through the provided interface.

Application Admin Page

Main Application for Users

  • Searching products: Navigate to /inventory/search/ to search for products by name.

User Page - profile

  • Purchase Products: Selected a product to buy it and specify the quantity.

User Page - search for products

  • Check Purchased Products: Navigate to /users/profile/ to view profile details and purchasing history.

User Page - buy products

Testing

To run the tests use the following command:

python manage.py test

Unit Tests Results

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

License

This project is licensed under the MIT licensed.

Stay in touch

Author - Krzysztof Nazar:

About

This Django-based web application helps small businesses manage inventory, process sales, and generate reports.

Topics

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Packages

 
 
 

Contributors