Ticketing system using apis
Installation:
1)Install Python 3.x along with pip : https://www.python.org/downloads/windows/
2)Edit the environment variables : https://www.educative.io/edpresso/how-to-add-python-to-path-variable-in-windows
3)Write python in cmd to verify if it is installed
4)Install Flask using pip : https://pypi.org/project/Flask/ (check requirements.txt to see all the modules to be installed)
5)Install ujson,requests using pip : https://pypi.org/project/ujson/, https://pypi.org/project/requests/
6)Move into the directory where all the codefiles are and open command prompt
7)Type python app.py
to run the main app file (BEFORE running please add the API key in line 8 of app.py)
8)In a browser open http://localhost:5050/
9) For Unit testing:
a)Install pytest using pip : https://pypi.org/project/pytest/
b)Run the following command in command prompt : python -m pytest