This repository contains a Flask application simulating API for creating orders of configurable mobiles.
FANZTAR/ |-- order/ | |-- init.py # An empty file that marks the directory as a package. | |-- order_controller.py # The order controller |-- data/ | |-- parts_pricing.py # The parts and their price information |-- tests/ | |-- init.py # An empty file that marks the directory as a package. | |-- test_order_controller.py # Unit test cases for the order controller/API endpoint. |-- requirements.txt # The requirements |-- README.md # The documentation Your Current location
git clone https://github.com/rahulkumarhpk/FANZTAR.git
- Python
- pip
- POSTMAN
- pip install virtualenv
- virtualenv venv
- source venv/bin/activate (Linux/Mac)
- .\venv\Scripts\Activate (windows)
pip install -r requirements.txt
python app.py
Or
python(ver) app.py e.g python3 app.py
pytest .\tests\