Micro Bill API project
Project to save and manage each month's bills. Created with REST APIs using Python 3 and Flask.
Run the install.sh script to install the app's dependencies (assumes activated Python3 virtual env):
.. code:: shell
./install.sh
Run the following commands start the server (assumes activated Python3 virtual env):
run nix nix-shell
run api
MICROBILL_SETTINGS=pwd
/app.cfg python main.py
run react app
cd reactbill/ npm start
Run the install-dev-dependencies.sh script to install the app's dev/tests dependencies (assumes activated Python3 virtual env):
.. code:: shell
sudo ./install-dev-dependencies.sh pip install -r dev-requirements.txt
Run the following command to run smoke tests (server must be running):
.. code:: shell
newman run tests/smoke-tests.json -e tests/local-environment.json