shared-framework 0.0.17

Reusable building blocks for HTTP services — Hyper routing, SeaORM data layer, validation, OpenAPI docs, jobs, queues, cache.
Documentation
# Service configuration.
SERVICE_NAME="Shared Vert.x Framework"
SERVICE_VERSION="1.0.0-Final"
BUILD_NUMBER=123
SERVER_PORT=8080
SERVICE_URL=https://tm30.net
ENVIRONMENT_KIND=development
PROCESS_ROLE=api_server
SETUP_MODE=production

# Database configuration.
POSTGRESQL_URL="postgresql://user:password@localhost:5432/acs_db"
REDIS_URL="redis://localhost:6379"
RABBITMQ_URL="amqp://guest:guest@localhost:5672"
RABBITMQ_VHOST="acs_vhost"
MONGODB_URL="mongo://localhost:27017"

# Socket server configuration
SOCKET_PORT=8081

# Consumer configuration
PREFETCH_COUNT=4

# Optional configuration.
#ELASTICSEARCH_URL=""
#ELASTICSEARCH_API_KEY=""

# Basilisk configuration.
BASILISK_SERVICE_ID=example-service
BASILISK_GATEWAY_URL=http://localhost:8084
BASILISK_HOST=localhost
BASILISK_BUS_PORT=5090
BASILISK_TOKEN="<openssl rand -base64 32>"