glanzlicht / GastroOS
Verified secure showcase
500 Files 1 MB Public size 31 Redacted TypeScript · SQL · JSON · Markdown · DOCKERIGNORE · EXAMPLE

Project overview

GastroOS is a verified code showcase with 500 visible project entries across 3 top-level modules. The primary detected language is TypeScript; protected files remain visible in the structure while their contents stay private.

README

GastravaOS

GastravaOS is a modular Hospitality Operational Intelligence Platform.

The technical repository name remains GastroOS for compatibility. The product is presented publicly as GastravaOS.

Product preview

GastravaOS operations dashboard

GastravaOS is designed for hospitality operations ranging from small venues to larger multi-location organizations. The platform combines operational workflows, resilient data handling and role-specific user experiences without exposing internal complexity to operators.

What this repository demonstrates

This repository is presented as a technical portfolio showcase, not as a complete product blueprint.

It demonstrates work across:

  • backend engineering with Node.js, TypeScript, NestJS and REST/OpenAPI;
  • PostgreSQL data modeling, explicit SQL migrations and transactional consistency;
  • Flutter application architecture with Riverpod, go_router, Drift/SQLite and Dio;
  • operational workflows across hospitality domains;
  • offline-capable client foundations and synchronization patterns;
  • real-time state reconciliation and event-driven integration patterns;
  • integrations for storage, payments, fiscal/accounting systems and external platforms;
  • Docker-based development, CI, observability and runtime verification;
  • tenant-aware security, audit-oriented design and permission boundaries;
  • applied AI around deterministic domain data and human-controlled actions.

Technology stack

AreaTechnology
BackendNode.js 24 LTS, TypeScript, NestJS 11
APIREST / OpenAPI
DatabasePostgreSQL 18, Drizzle ORM, explicit SQL migrations
FrontendFlutter, Riverpod, go_router
Local dataDrift / SQLite
NetworkingDio, json_serializable
InfrastructureDocker Compose, S3-compatible storage
ArchitectureModular monolith, transactional outbox
QualityAutomated tests, CI, observability and runtime verification

Engineering approach

The codebase is organized around clear boundaries and reusable platform capabilities rather than one large feature layer.

Recurring engineering principles include:

  • deterministic and auditable domain state;
  • separation of operational truth from presentation;
  • role- and context-specific interfaces;
  • resilience under intermittent connectivity;
  • explicit integration adapters;
  • composable capabilities instead of duplicated vertical implementations;
  • controlled exposure of sensitive business, security and product logic.

Portfolio boundary

The public showcase intentionally omits detailed roadmaps, ADRs, security internals, commercial logic, AI prompts, operational playbooks and reconstructable product strategy.

Those materials remain in the private repository. The public view is optimized so technical reviewers can evaluate engineering breadth and implementation quality without receiving a reconstruction guide for the product.

Local development

The repository uses a versioned pnpm dependency graph.

corepack enable
pnpm install --frozen-lockfile

Project-specific runtime and verification details remain in the private engineering documentation.

Status

GastravaOS is under active development. The repository contains a broad implementation foundation and ongoing product work rather than a finished commercial release.

The public showcase focuses on engineering capability, architecture quality and implementation breadth while deliberately omitting core IP.

apps/backend/src/modules/menu/application/product-allergen-projection.service.tsTypeScript
import { Injectable } from '@nestjs/common';
import { DatabaseService } from '../../../infrastructure/database/database.service';
@Injectable()
export class ProductAllergenProjectionService {
constructor(private readonly database: DatabaseService) {}
async rebuildProduct(productId: string): Promise<void> {
await this.database.query(
`delete from product_allergen_projection where product_id=$1`,
[productId],
);
await this.database.query(
`with recursive ingredient_tree as (
select
p.id as product_id,
rv.id as source_recipe_version_id,
rc.ingredient_id,
rc.subrecipe_id
from products p
join recipe_versions rv
on rv.recipe_id=p.recipe_id and rv.status='published'
join recipe_components rc on rc.recipe_version_id=rv.id
where p.id=$1
union all
select
it.product_id,
srv.id,
src.ingredient_id,
src.subrecipe_id
from ingredient_tree it
join recipe_versions srv
on srv.recipe_id=it.subrecipe_id and srv.status='published'
join recipe_components src on src.recipe_version_id=srv.id
where it.subrecipe_id is not null
),
ranked as (
select
it.product_id,
ia.allergen_code,
case
when bool_or(ia.relation='contains') then 'contains'
else 'may_contain'
end as relation
from ingredient_tree it
join ingredient_allergens ia on ia.ingredient_id=it.ingredient_id
where it.ingredient_id is not null
group by it.product_id, ia.allergen_code
)
insert into product_allergen_projection(
product_id, allergen_code, relation, source_recipe_version_id
)
select
r.product_id,
r.allergen_code,
r.relation,
(
select source_recipe_version_id
from ingredient_tree it2
join ingredient_allergens ia2 on ia2.ingredient_id=it2.ingredient_id
where it2.product_id=r.product_id
and ia2.allergen_code=r.allergen_code
order by
case ia2.relation when 'contains' then 0 else 1 end,
source_recipe_version_id
limit 1
)
from ranked r`,
[productId],
);
}
}

Architecture

High-level modules detected from the verified public snapshot. Protected implementation details are intentionally omitted.

appsmodule
.vscodemodule
.githubmodule

Technology stack

TypeScriptSQLMarkdownJSONGITIGNOREDOCKERIGNORENode.js / JavaScript ecosystem
TypeScript68.8%
SQL20.0%
Markdown10.9%
JSON0.3%
GITIGNORE0.1%
DOCKERIGNORE0.0%
CJS0.0%
MJS0.0%