hummingbird-examples
hummingbird-examples copied to clipboard
Examples demonstrating various aspects of the Hummingbird swift server framework
Updates to go along with https://github.com/hummingbird-project/hummingbird-auth/pull/61
Standard username, password authentication which can be extended to include a TOTP token input This uses the session PR in hummingbird-auth
https://github.com/hummingbird-project/hummingbird-examples/actions/runs/10526605324/job/29167824727#step:6:1
In the `delete` method I think you can use one SQL query instead of two this way: ``` func delete(id: UUID) async throws -> Bool { // The string interpolation...
Add Sign in with Apple example This is a draft at the moment. It is not complete at all. It does the core work of getting an access token from...
## Setup 1. Run the hello example: `swift run -c release` 2. Run the proxy-server example: `NIO_SINGLETON_BLOCKING_POOL_THREAD_COUNT=1 NIO_SINGLETON_GROUP_LOOP_COUNT=1 .build/release/App -t http://localhost:8080` 3. Run wrk: `wrk -T30s -c 2 -t 1...
I have done a few private projects with Hummingbird and I would love to get a better understanding of how to actually organize your code and modules in a typical...