Skip to content

Commit

Permalink
Merge all three sessions examples into one
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Dec 28, 2023
1 parent c3ed97c commit 1e8f093
Show file tree
Hide file tree
Showing 39 changed files with 1 addition and 901 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

Examples converted to Hummingbird 2.0
- [hello](https://github.com/hummingbird-project/hummingbird-examples/tree/main/hello) - Basic application setup
- [session](https://github.com/hummingbird-project/hummingbird-examples/tree/main/session) - Username/password and session authentication.

Examples still working with Hummingbird 1.0
- [auth-cognito](https://github.com/hummingbird-project/hummingbird-examples/tree/main/auth-cognito) - Authentication via AWS Cognito.
Expand All @@ -15,9 +16,6 @@ Examples still working with Hummingbird 1.0
- [multipart-form](https://github.com/hummingbird-project/hummingbird-examples/tree/main/multipart-form) - HTML form using Multipart form data, using MultipartKit
- [proxy-server](https://github.com/hummingbird-project/hummingbird-examples/tree/main/proxy-server) - Using AsyncHTTPClient to build a proxy server
- [proxy-server-core](https://github.com/hummingbird-project/hummingbird-examples/tree/main/proxy-server-core) - Version of proxy server only using HummingbirdCore
- [session](https://github.com/hummingbird-project/hummingbird-examples/tree/main/session) - Username/password and session authentication.
- [session-async](https://github.com/hummingbird-project/hummingbird-examples/tree/main/session-async) - Version of session sample using new swift concurrency.
- [session-dep-injection](https://github.com/hummingbird-project/hummingbird-examples/tree/main/session-dep-injection) - Version of session sample using dependency injection instead of accessing everything via `HBRequest`.
- [todos-dynamodb](https://github.com/hummingbird-project/hummingbird-examples/tree/main/todos-dynamodb) - Todos application, based off [TodoBackend](http://todobackend.com) spec, using DynamoDB
- [todos-dynamodb-async](https://github.com/hummingbird-project/hummingbird-examples/tree/main/todos-dynamodb-async) - Version of todos-dynamodb application using new swift concurrency.
- [todos-fluent](https://github.com/hummingbird-project/hummingbird-examples/tree/main/todos-fluent) - Todos application, based off [TodoBackend](http://todobackend.com) spec, using Fluent
Expand Down
2 changes: 0 additions & 2 deletions session-async/.dockerignore

This file was deleted.

53 changes: 0 additions & 53 deletions session-async/Package.swift

This file was deleted.

12 changes: 0 additions & 12 deletions session-async/README.md

This file was deleted.

36 changes: 0 additions & 36 deletions session-async/Sources/App/Application+configure.swift

This file was deleted.

62 changes: 0 additions & 62 deletions session-async/Sources/App/Controllers/UserController.swift

This file was deleted.

33 changes: 0 additions & 33 deletions session-async/Sources/App/Middleware/BasicAuthenticator.swift

This file was deleted.

28 changes: 0 additions & 28 deletions session-async/Sources/App/Middleware/SessionAuthenticator.swift

This file was deleted.

73 changes: 0 additions & 73 deletions session-async/Sources/App/Models/User.swift

This file was deleted.

31 changes: 0 additions & 31 deletions session-async/Sources/Server/main.swift

This file was deleted.

18 changes: 0 additions & 18 deletions session-async/Tests/AppTests/AppTests.swift

This file was deleted.

Binary file removed session-async/session-persist-async-test.paw
Binary file not shown.
Loading

0 comments on commit 1e8f093

Please sign in to comment.