GithubHelp home page GithubHelp logo

mishankhatri / sales-management-system Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 3.0 2.45 MB

This is an admin based dbms web project developed for the management of the records of product, billing and product sales. It is created with the motive of creating ease for the counter-management side of any seller.

License: GNU General Public License v3.0

Python 27.78% HTML 52.02% JavaScript 0.67% CSS 19.53%
dbms mysql django database-management web-application sales-management tailwindcss

sales-management-system's Introduction

Project logo

Sales Management System

Status License: GPL v3


A database management system based project.

๐Ÿ“ Table of Contents


๐Ÿง About

This is an admin based dbms web project developed for the management of the records of product, billing and product sales. It is created with the motive of creating ease for the counter-management side of any seller.


โœจ Features

For Registered Users :

  • Admin Mode
    • Admin can register new staff.
    • Admin can CREATE, RETRIEVE, UPDATE and DELETE products.
    • Admin can CREATE, RETRIEVE, UPDATE, PRINT and DELETE invoices.

  • Staff Mode
    • Staff can CREATE, RETRIEVE, UPDATE and DELETE products.
    • Staff can CREATE, RETRIEVE, UPDATE and PRINT invoices.

For Unregistered users :

  • Normal mode:
    • Can only view products list.

๐Ÿ Getting Started

  • Clone the repository or download the zip file

  • For zip file extract it, then cd into the directory

  • Create new virtualenv using python's virtualenv package:

    $ virtualenv venv
    
    $ venv\Scripts\activate (in windows) or $source venv/bin/activate (in Mac OS/linux)
    
    
  • Install all dependencies by executing the following command:

    $pip install -r requirements.txt
    
  • Connect a MySQL database:

    For development environment:


    In **SalesManagementSystem/settings.py** replace the following code snippet according to your mysql database.
    DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': '<databasename>',
        'USER': '<username>',
        'PASSWORD': '<password>',
        'HOST': 'localhost',
        'PORT': '3306',
        }
    }
    
  • For running the application simply execute the following commands:

    $python manage.py migrate
    $python manage.py runserver
    
  • If you want to populate database with dummy data as shown in preview:

    $python manage.py loaddata sms.json
    
  • For login you can use username/password from dummyUsers.txt file assuming you loaded sms.json
    or
    to create new superuser execute:

    $python manage.py createsuperuser
    
  • You can now login to the system!

  • Now you can use the app by visiting http://127.0.0.1:8000/


โ›๏ธ Built Using

  • TailwindCSS - CSS Framework

  • Undraw.co - Open Source Illustrations

  • Django - Web Framework

    Note : In this project, Django's builtin database-abstraction API is not used . All the create, insert, retrieve, update and delete operations of objects are done through embedded raw SQL.

  • MySQL - Relational Database


โœ๏ธ Authors


๐Ÿ‘€ Quick Preview

  • Homepage

#

  • Login

#

  • Products-list

productlist

  • Create Invoice

createinvoice

  • Add Items to Invoice

additemstoinvoice

  • Print Invoice as Pdf

#

  • Dashboard For Admin

#

  • Dashboard For Staff

#

  • Update Profile

#

  • Add product to Database

#

  • Delete product from Database

#

  • Register New Staff (admin only view)

#

  • Sales Admin View

#

  • Staff Sales View

#

  • Particular Invoice Details

#

  • Deletion of Invoice (admin only)

#

sales-management-system's People

Contributors

mishankhatri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.