NextRush
Examples

Examples

Working code examples for common NextRush patterns and use cases.

Each example is self-contained and verified against current NextRush APIs. Pick one to get started.


Functional or Class-Based?

NextRush supports both functional and class-based styles. The Hello World and REST API examples use the functional style. The Class-Based API example rebuilds the same REST API with decorators and dependency injection.

Start with functional if you're unsure — you can adopt class-based patterns incrementally.

On this page