Customer_mgmt is a python based CLI application.
In this app, one can:
- Add customer in a mongodb database
- Delete customer
- Update customer name
- View a customer by id
- View all customers
Customer_mgmt uses a number of open source projects to work properly:
- MongoDb - For backend development
- Python - For working with MongoDB
- pymongo - Distribution tool for working with MongoDB
- mongoengine - mongoengine a python object data mapper for mongodb.
Create a virtual environment before starting the project
$ cd customer_mgmt
$ python3 -m venv envFor activating the virtual environment[Windows]
$ cd customer_mgmt
$ env\bin\activate.batRun the requirements.txt
$ cd customer_mgmt
$ pip install -r requirements.txt
$ For running the main program
$ cd ../customer_mgmt/src/
$ python program.pyFollow PEP8: https://www.python.org/dev/peps/pep-0008/ Use pycodestyle to automatically check for PEP8.