mod-dlm-server is an open-source REST server for storing and querying element data described using the mod-dlm domain-specific language (DSL). This project provides tools for defining entity models and automatically generating CRUD APIs, enabling suppliers to create and manage catalogs of their products easily.
You can always find the most up-to-date API documentation here: mod-dlm API Docs
The server is generated automatically using the OpenAPI Generator.
- API version: 1.1.0
- Build date: 2025-06-04T08:15:21.458468935Z[Etc/UTC]
- Generator version: 7.14.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.PythonFastAPIServerCodegen
Python >= 3.7
To run the server, please execute the following from the root directory:
pip install -r requirements.txt
PYTHONPATH=src uvicorn mod_dlm_server.main:app --host 0.0.0.0 --port 8080
and open your browser at http://localhost:8080/docs/
to see the docs.
To run the server on a Docker container, please execute the following from the root directory:
docker-compose up --build
To run the tests:
pip install pytest
PYTHONPATH=src pytest tests