██████╗ ██████╗ ██████╗ ███████╗ ██╗ ██╗███████╗██████╗ ██╔════╝██╔═══██╗██╔══██╗██╔════╝ ██║ ██║██╔════╝██╔══██╗ ██║ ██║ ██║██████╔╝█████╗ ██║ █╗ ██║█████╗ ██████╔╝ ██║ ██║ ██║██╔══██╗██╔══╝ ██║███╗██║██╔══╝ ██╔══██╗ ╚██████╗╚██████╔╝██║ ██║███████╗ ╚███╔███╔╝███████╗██████╔╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝ ╚══╝╚══╝ ╚══════╝╚═════╝
A production-ready, multi-protocol web platform built with Rust
Core Web is a comprehensive, production-ready web platform built with Rust that provides everything you need to build scalable, secure, and high-performance web applications. With support for multiple protocols, advanced security features, and enterprise-grade observability, Core Web is designed to handle the most demanding workloads.
██████╗ ██████╗ ██████╗ ███████╗ ██╗ ██╗███████╗██████╗
██╔════╝██╔═══██╗██╔══██╗██╔════╝ ██║ ██║██╔════╝██╔══██╗
██║ ██║ ██║██████╔╝█████╗ ██║ █╗ ██║█████╗ ██████╔╝
██║ ██║ ██║██╔══██╗██╔══╝ ██║███╗██║██╔══╝ ██╔══██╗
╚██████╗╚██████╔╝██║ ██║███████╗ ╚███╔███╔╝███████╗██████╔╝
╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝ ╚══╝╚══╝ ╚══════╝╚═════╝
┌─────────────────────────────────────────────────────────────┐
│ Load Balancer/Proxy │
└─────────────────────┬───────────────────────────────────────┘
│
┌─────────────────────┴───────────────────────────────────────┐
│ Core Web Server (8080) │
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────────────┐ │
│ │ REST API │ │ GraphQL │ │ gRPC │ │
│ └─────────────┘ └─────────────┘ └─────────────────────┘ │
│ ┌─────────────────────────────────────────────────────────┐ │
│ │ Authentication & AuthZ │ │
│ └─────────────────────────────────────────────────────────┘ │
└─────────────────────┬───────────────────────────────────────┘
│
┌─────────────┼─────────────┐ ┌────────────┐
│ │ │ │ │
┌───────▼──┐ ┌──────▼──┐ ┌───────▼──┐ ┌──────▼──┐ ┌─────▼──────┐
│ MySQL │ │ Redis │ │ MongoDB │ │ClickHouse│ │ WASM Host │
│ (Primary)│ │(Caching)│ │(Documents)│ │(Analytics)│ │ (Plugins) │
└──────────┘ └─────────┘ └──────────┘ └──────────┘ └────────────┘
│ │ │ │ │
└─────────────┼─────────────┘ │ │
│ │ │
┌───────▼───────┐ ┌───────▼──────┐ │
│ Job Workers │ │ Events │ │
│ (Background) │ │ (Streaming) │ │
└───────────────┘ └──────────────┘ │
│ │ │
┌───────▼───────┐ ┌───────▼──────┐ │
│ Outbox Pattern│ │ Redis Streams│ │
│ Publisher │ │ Consumer │ │
└───────────────┘ └──────────────┘ │
│
┌───────▼───────┐
│ Admin Dashboard│
│ (Yew/WASM) │
└───────────────┘
git clone https://github.com/your-org/core-web.git
cd core-web
./scripts/dev-up.sh
cd apps/core-web
cargo run
The server will start on port 8080. Visit http://localhost:8080/healthz to verify it’s running.
Run the full test suite:
cargo test
Core Web includes a powerful CLI tool for managing the application:
# Navigate to the CLI crate
cd crates/core-cli
# Run CLI commands
cargo run -- --help # Show help
cargo run -- start # Start the server
cargo run -- status # Check server status
cargo run -- health # Run health checks
cargo run -- logs # View logs
Core Web takes security seriously. We implement several measures to ensure the safety and integrity of our codebase:
For security-related issues, please see our Security Policy.
Core Web is optimized for high performance:
We welcome contributions! Please see our Contributing Guide for details on how to get started.
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)Please also read our Code of Conduct before contributing.
This project is licensed under the MIT License - see the LICENSE file for details.
For support, please open an issue on GitHub.
Project Maintainers:
Core Web is designed with scalability in mind. The architecture supports horizontal scaling through:
To scale the application:
For production deployments, consider using the provided Kubernetes manifests in the k8s/ directory to orchestrate scaling automatically based on metrics and resource usage.
Made with ❤️ and 🦀 Rust