Lepus Teknoloji 1/15

LepusCode

  • 12
  • 5
  • 0
CustomerACTIVE TicketACTIVE InvoiceINSTALLING… LepusCode CORE PostgreSQL Redis RabbitMQ

  • ERP
  • CRM
  • e-Fatura

2014
İstanbul

Modules/Ticket Modules/Customer Libs/Company API · FastAPI Scheduler Worker PostgreSQL 16core · log · <module> Redis 7cache · sessions · events RabbitMQ 3queues · DLQ

  • Python 3.11+
  • FastAPIuvicorn · pydantic v2
  • PostgreSQL 16
  • Redis 7
  • RabbitMQ 3aio-pika · DLQ
  • sqlglot
  • Argon2 · JWT
  • Typerfcctl

fcctl create module Ticket

fcctl system-install-local TicketINSTALLED

fcctl install TicketACTIVE

fcctl uninstall TicketDISABLED

# Modules/Ticket/module.toml
[package]
name         = "Ticket"
schema       = "ticket"        
url_prefix   = "/api/ticket"
read_schemas = ["customer"]    
queues       = ["ticket.notify"]
[requires]
core = ">=1.0.0"   libs = ["Company"]
[[messages]]
code = "TKT-001"  lang = "tr"  message = "Kayıt bulunamadı."

SELECT * FROM "auth"."secrets"


WITH c AS (SELECT * FROM ticket.items)
SELECT * FROM c


1

SqlGuard

2

search_path = pg_catalog

3

MOD-010
MOD-011
MOD-012
MOD-013
MOD-014
MOD-015
MOD-016
MOD-017

tests/test_audit_integrity.py

1

MOD-010 … MOD-017
2

MOD-007 · --force yok
3

tests/test_audit_integrity.py
4

/ · AUTH-001
5

logout · displaced · ceiling · expired
6

X-Transaction-Id · on-prem

/api/ticket/docs

X-Transaction-Id

[[messages]]

LepusCode

  1. fcctl create module Ticket
  2. fcctl system-install-local Ticket && fcctl install Ticket
  3. http://localhost:8000/api/ticket/docs
  4. fcctl uninstall Ticket

LepusCode

Lepus Teknoloji

lepusteknoloji.com info@lepusteknoloji.com +90 542 629 53 91

· N · L TR/EN · F · O