This is the back end of TFS, a project inspired by BookMyShow. This project aims to aid a cinema theatre where visitors can view upcoming films and purchase tickets.
- Install Python3.9.5
- Install requirements by running
pip install -r requirements.txt
- pip3 freeze > requirements.txt
- source venv/bin/activate
- python app.py
Before committing any code, following codes must be run to ensure consistent formatting across branches, developer machines and successful tests -
- Auto formatting by running
autopep8 --in-place --recursive .
- Check for remaining formatting issues by running
flake8 .
(To be fixed manually) - Run unit tests to ensure that codebase functions as expected -
python -m pytest