GitHub - byronka/minum: A minimal Java web framework built from scratch
Extracto
A minimal Java web framework built from scratch. Contribute to byronka/minum development by creating an account on GitHub.
Contenido
Minum Framework
Minum is a minimalistic experimental web framework demonstrating less is more
For more detail on intentions, purpose, and benefits, see the development handbook.
🚀 Quick start
Maven
Published at Maven Central Repository
Features:
- Secure TLS 1.3 HTTP/1.1 web server
- In-memory database with disk persistence
- Server-side templating
- Logging framework
- Testing framework
- HTML parsing
Size Comparison:
Compiled size: 150 kilobytes.
lines of production code (including required dependencies)
| Minum | Javalin | Spring Boot |
|---|---|---|
| 3,757 | 255,384 | 1,085,405 |
See details
Performance:
- 19,000 http responses per second by web server. detail
- 2,000,000 updates per second to database. detail
- 27,000 templates per second rendered. detail
See framework performance comparison
Documentation:
Example projects demonstrating usage:
See the following links for sample projects that use this framework.
This is a good example to see a basic project with various functionality. It shows many of the typical use cases of the Minum framework.
This project is valuable to see the minimal-possible application that can be made. This might be a good starting point for use of Minum on a new project.
Fuente: GitHub