No description
- Dockerfile 62.7%
- Java 17.6%
- Rust 8.1%
- JavaScript 4.9%
- Go 2.5%
- Other 4.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .harness | ||
| example-dotnet | ||
| example-go | ||
| example-java | ||
| example-node | ||
| example-python | ||
| example-quarkus | ||
| example-rust | ||
| .gitignore | ||
| README.md | ||
Example Applications Repository
A collection of simple "Hello World" web applications demonstrating basic setup and deployment across different programming languages and frameworks. Each example includes both local development instructions and Docker containerization for easy deployment.
🚀 Available Examples
| Language | Framework | Port | Description |
|---|---|---|---|
| .NET | ASP.NET Core | 8080 | Minimal API with .NET 9.0 |
| Go | Gin | 3000 | Lightweight web server with Gin framework |
| Java | Spring Boot | 8080 | RESTful API with Spring Boot 3.2 |
| Node.js | Express | 3000 | Basic HTTP server with Express |
| Python | Flask | 8000 | Simple web application with Flask |
| Rust | Axum | 3000 | Simple web application with Axum |
| Quarkus | Quarkus | 8080 | Restful API with Quarkus |
🏃♂️ Quick Start
Each example can be run in two ways:
Local Development
Navigate to any example directory and follow the language-specific instructions in its README.
Docker (Recommended)
# Choose any example directory
cd example-[language]
# Build and run with Docker
docker build -t example-[language] .
docker run -p [port]:[port] example-[language]
📁 Repository Structure
example-apps/
├── README.md # This file
├── example-dotnet/ # .NET Core example
├── example-go/ # Go with Gin example
├── example-java/ # Java Spring Boot example
├── example-node/ # Node.js Express example
└── example-python/ # Python Flask example
└── example-rust/ # Rust Axum example
└── example-quarkus/ # Quarkus example
🔧 Common Requirements
- Docker: For containerized deployment (recommended)
- Language-specific runtime: For local development (see individual READMEs)
🎯 Use Cases
These examples are perfect for:
- Learning basic web development setups across languages
- Testing deployment pipelines
- Container orchestration demonstrations
- Microservices architecture prototyping
- CI/CD pipeline testing
- Cloud deployment tutorials
🤝 Contributing
Feel free to:
- Add examples in new languages/frameworks
- Improve existing examples
- Update documentation
- Report issues or suggest enhancements
📋 Testing the Examples
After running any example, test it works by visiting:
http://localhost:[PORT]/- Basic hello world response- Check individual README files for additional endpoints
Each application returns a simple "Hello World" message with the language/framework identifier.