A RESTful Gilhari microservice demonstrating ORM for JSON objects with an e-commerce application object model having one-to-one and one-to-many relationships (using PostgreSQL)
README
Copyright (c) 2025 Software Tree
Automated e-commerce microservice with PostgreSQL integration and Docker deployment
This repository contains a complete e-commerce microservice built with Gilhari ORM, featuring automatic environment detection for seamless local development and Docker deployment. The system automatically handles database connectivity across different environments without manual configuration.
The microservice provides RESTful APIs for six core e-commerce entities with sophisticated business relationships. This example uses a sophisticated object model found in a typical eCommerce application. For example:
The above model was automatically inferred from an existing database schema by the reverse-engineering tool shipped with the Gilhari SDK. Please see REVERSE_ENGINEERING.md to learn how you can easily work with an existing relational schema and use its data in an intuitive object-oriented way without writing any SQL code.
The reverse-engineered ORM specification gives us a jump-start, but it can be refi