A POS of system operated through the terminal
Create a command line driven point of sale terminal in Python. The program's key features are:
- Customers.
- Products.
- Purchases made by customers.
GOAL OF THE PROGRAM
Implement a python program that starts with a menu, gets user menu choice and proceeds to execute the subprogram associated with the menu. The data will be stored in a json file.
- Python
- Pycharm IDE
- Gmail
- JSON
By running the main file the menu below is displayed. Three operations will be displayed which the shop attendant can operate after login into the system.
Customer operations include:
- To create New User.
- To delete User.
- To update User.
- To view users in the system.
- To search for a user in the system.
Q. To return to the main program.
The following operations will be displayed in the customer menu.
Products operations include:
- To create New product.
- To delete product.
- To update product.
- To view products in the system.
- To search a product in the system.
Q. To return to the main program.
The following operations will be displayed in the products menu.
This is the final operation of buying goods from the store.
- import pyfiglet - for banners
- from termcolor import colored - for colored texts
- from getpass import getpass - for hiding passwords while typing.
- from email.message import Emailmessage - for sending emails
- from twilio.rest import Client - for sending text messages
- import ssl - for connecting to the client email
- import smtplib
- import re - for writing regex
- import json - for using json files
- import validate_email import validate_email - for email validation
To run this program in your local machine, clone it to your local machine, install python and the required modules, then execute the following commands:
$ git@github.com:BruceFelix/CLI-Point-of-Sale-Terminal-in-python.git
$ cd CLI-Point-of-Sale-Terminal-in-python
$ python main.py