fbc-starter 0.1.24

A production-ready web server starter for Rust based on Axum, with built-in configuration, logging, CORS, database and Redis support
Documentation
# 复制为 .env 后按需修改: cp .env.example .env
# 启动时数据库二选一: --profile mysql 或 --profile postgres

# Redis(必选)
REDIS_PORT=6379

# MySQL 8.0.45(仅在使用 --profile mysql 时生效)
MYSQL_PORT=3306
MYSQL_ROOT_PASSWORD=root
MYSQL_DATABASE=app
MYSQL_USER=root
MYSQL_PASSWORD=123456

# PostgreSQL 15(仅在使用 --profile postgres 时生效)
POSTGRES_PORT=5432
POSTGRES_USER=postgres
POSTGRES_PASSWORD=123456
POSTGRES_DB=app

# Kafka(docker-compose-kafka.yml)
KAFKA_PORT=9092
ZOOKEEPER_PORT=2181