In a world full of mixed breeds, this application generates estimates for grooming services based on weight and coat type instead of breed which is sometimes hard to determine.
The programs backend was written in Python and the Django ORM was used as a templating engine for creating models that interface with the SQL Database and to manipulate the DOM and display database information.
Python was chosen due to its ease of use and it's forgiving syntax. Django ORM on the other hand, interfaces extremely well with the database and therefore relationships between database entries are easily defined.
A SQL database was utilized because of the nature of the relationships needed between the database models of this project. For example (in this situation): grooming shops have multiple customers, customers have multiple dogs, dogs have only one owner. Using a relational database was important to effectivley and efficiently map these connetions.
- Clone the repository down to your local drive by opening up a terminal in the folder of your choice and type the code:
git clone https://github.com/KISMET-INC/FairEst.git
-
Download and Install Python 3.6.4 onto your machine.
-
Be sure to Add Python 3.6 to PATH but checking the box at the bottom of the screen
- Add Python 3.6 to PATH
-
Create a virtual environment for the project.
Windows:
python -m venv py3Env
Mac/Linux
python3 -m venv py3Env
- Activate the environment
Mac/Linux:
source py3Env/bin/activate
Windows command prompt :
call py3Env\Scripts\activate
Windows git bash :
source py3Env/Scripts/activate
- With your virtual environment active install Django using PIP package manager
Windows/Mac:
$ pip install Django==2.2.4
Note: If PIP isn't installing you may hae to add it to your PATH
-
Now you should be able to work with and edit the file.
-
To run the project navigate to the folder where you cloned this repo and run this in the command line
python manage.py runserver
Any questions or comments about this repository and it's contents can be emailed to kmoreland909@gmail.com.
In future updates I plan to:
- add more services to the estimates like desheds and special shampoos
- a login and registration for business owners to access their individual clients and estimates
- A feature that allows the estimates to be printed and/or emailed to the client
I am not accepting contributions to this project at this time.
Thank you to the amazing staff and instructors at Coding Dojo for teaching me the skills and technologies needed for me to complete this project.