Code Monkey home page Code Monkey logo

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
  • create the logs folder mkdir ../logs
  • run the server ./main.py

middleware_skeleton's People

Contributors

saadadel avatar kefahi avatar kadimkareem avatar

Watchers

Ayyash avatar  avatar Merah Soheyb avatar  avatar  avatar baxiry avatar

middleware_skeleton's Issues

provide (delete all,read all )

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.