Barebone middleware skeleton that runs side-by-side with dmart. (not using dmart's user system).
License: GNU Affero General Public License v3.0
Python 99.82%Shell 0.18%
middleware_skeleton's Introduction
Fastapi middleware/backend component
Leverages DMART as the backend data store.
Access to DMART api is made with privileged user defined on the backend component
Declares own initial set of apis to register/create user and login/logout with forgot/reset password
Installation
clone the repo
cd to the project folder
pip install -r requirements.txt
run the seeders using cd db && python seeder.py
This step will create a new folder as a sibling to the project folder called spaces that holds the data
[Called form Dmart service] configure Dmart server to deal with the new spaces folder by updating SPACES_FOLDER env var in Dmart itself
[Called form Dmart service] recreate Redis DB by calling ./create_index.py --flushall
[Called form Dmart service] [Optional] run Dmart tests to make sure everything configured successfully cd tests && pytest
hi there
I would like to request the implementation of the 'Get All' and 'Delete All' operations.
For instance, I have uploaded a set of plan data, and I find it time-consuming to manually delete all the entries through the Dmart dashboard. I am looking to automate this process using a Python script. Could you please provide support for these operations?