Go to file
jasquat 115e126873 log db validation error to see what postgres is doing 2022-09-23 10:33:12 -04:00
.github Bump poetry from 1.1.15 to 1.2.1 in /.github/workflows 2022-09-16 20:46:46 +00:00
bin fix flaky test that only is flaky on postgres 2022-09-20 15:32:43 -04:00
docs Bump furo from 2022.6.21 to 2022.9.15 in /docs 2022-09-15 20:55:48 +00:00
log added logging for sql and some other updates w/ burnettk 2022-06-21 12:38:04 -04:00
migrations Merge branch 'main' into feature/secrets 2022-09-22 08:16:42 -04:00
src/spiffworkflow_backend log db validation error to see what postgres is doing 2022-09-23 10:33:12 -04:00
tests avoid checking for mysql specific error messages so other dbs can still work 2022-09-23 09:45:12 -04:00
.cookiecutter.json updated to use spiffworkflow-backend naming w/ burnettk 2022-06-01 11:17:25 -04:00
.darglint initial commit w/ burnettk 2022-05-13 13:42:42 -04:00
.flake8 set process name for api 2022-08-30 18:40:40 -04:00
.gitattributes initial commit w/ burnettk 2022-05-13 13:42:42 -04:00
.gitignore ignore the secrets files for now w/ burnettk 2022-09-15 09:27:58 -04:00
.pre-commit-config.yaml ran precommit and ignoring html files with prettier since it has a hard time with jinja files w/ burnettk 2022-06-02 10:17:53 -04:00
.readthedocs.yml initial commit w/ burnettk 2022-05-13 13:42:42 -04:00
.tool-versions initial commit w/ burnettk 2022-05-13 13:42:42 -04:00
CODE_OF_CONDUCT.rst initial commit w/ burnettk 2022-05-13 13:42:42 -04:00
CONTRIBUTING.rst drop support for python 3.8 2022-06-21 22:34:27 -04:00
Dockerfile python 3.10 2022-09-20 12:48:06 -04:00
LICENSE.rst initial commit w/ burnettk 2022-05-13 13:42:42 -04:00
README.rst clean 2022-09-16 14:51:41 -04:00
codecov.yml initial commit w/ burnettk 2022-05-13 13:42:42 -04:00
conftest.py added method to get data for a process instance in its current state w/ burnettk cullerton 2022-08-26 16:52:15 -04:00
docker-compose.yml some cleanup on code review w/ burnettk cullerton 2022-08-23 12:34:13 -04:00
noxfile.py add stubs to try to get mypy plugin sqlmypy 2022-06-21 22:43:37 -04:00
poetry.lock added username and task_type to logs w/ burnettk cullerton 2022-09-21 17:26:31 -04:00
pyproject.toml switched spiffworkflow back to main 2022-09-09 09:56:54 -04:00
sonar-project.properties ignore bugs in deprecated html templates 2022-09-22 14:10:25 -04:00
wsgi.py support json files for forms and default to running the server locally to using not wsgi w/ burnettk 2022-06-27 16:59:59 -04:00

README.rst

Spiffworkflow Backend
==========

|Tests| |Codecov|

|pre-commit| |Black|

.. |Tests| image:: https://github.com/sartography/spiffworkflow-backend/workflows/Tests/badge.svg
   :target: https://github.com/sartography/spiffworkflow-backend/actions?workflow=Tests
   :alt: Tests
.. |Codecov| image:: https://codecov.io/gh/sartography/spiffworkflow-backend/branch/main/graph/badge.svg
   :target: https://codecov.io/gh/sartography/spiffworkflow-backend
   :alt: Codecov
.. |pre-commit| image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white
   :target: https://github.com/pre-commit/pre-commit
   :alt: pre-commit
.. |Black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
   :target: https://github.com/psf/black
   :alt: Black


Features
--------

* Backend API portion of the spiffworkflow engine webapp


Running Locally
---------------

* Install libraries using poetry:

.. code:: console

   $ poetry install

* Setup the database - currently requires mysql:

.. code:: console

   $ ./bin/recreate_db clean

* Run the server:

.. code:: console

   $ ./bin/run_server_locally


Requirements
------------

* Python 3.9+
* Poetry


Contributing
------------

Contributions are very welcome.
To learn more, see the `Contributor Guide`_.


License
-------

Distributed under the terms of the `MIT license`_,
*Spiffworkflow Backend* is free and open source software.


Issues
------

If you encounter any problems,
please `file an issue`_ along with a detailed description.


Credits
-------

This project was generated from `@cjolowicz`_'s `Hypermodern Python Cookiecutter`_ template.

.. _@cjolowicz: https://github.com/cjolowicz
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _MIT license: https://opensource.org/licenses/MIT
.. _PyPI: https://pypi.org/
.. _Hypermodern Python Cookiecutter: https://github.com/cjolowicz/cookiecutter-hypermodern-python
.. _file an issue: https://github.com/sartography/spiffworkflow-backend/issues
.. _pip: https://pip.pypa.io/
.. github-only
.. _Contributor Guide: CONTRIBUTING.rst
.. _Usage: https://spiffworkflow-backend.readthedocs.io/en/latest/usage.html