-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FEAT: Adding LRU Caching to GraphQL Server (#30)
* feat: adding graphql service for accounts * feat: adding support for accounts-graphql schema * fix: scale machines to 0 * fix: fly.toml * fix: internal port 8080 in production * fix: change back to port 3000 * fix: move graph into internal * feat: code generation for gql * fix: models * fix: models * feat: resolvers are fixed * feat: updating resolver path * feat: move schemas into their own directory * fix: moving models to a package * feat: adding proper generated files package * feat: adding apollo router locally for dev * feat: logged todos resolver is called * fix: empty resolvers * fix: moving schema configs to dev * fix: moving schema configs to dev * feat: adding apolo router * feat: super graph dev and prod setup * feat: remove the custom metrics * fix: deployment for apollo router * fix: delete older files * feat: updating dockerfile for router * fix: remove homepage * fix: disable homepage * fix: disable homepage * fix: router config * fix: config * fix: apollo router config * fix: dockerfile * fix: dockerfile slashes * fix: apollo router prod * fix: prod * fix: http service for accounts graphql * fix: revert back to public prod url * fix: graphql schema * feat: account model generation * feat: update prod graph * fix: use internal routing * feat: adding accounts internal * feat: hide accounts-graphql behind VPC * feat: graphql service generator * feat: cleanup graphql files * fix: file generation * fix: further cleanup * fix: remove unwanted package in go workspace * feat: calling accounts api from accounts graph * feat: updating supergraph schema with prod * refactor: change name to account_service handler * feat: adding uuid validation for account * fix: models to query by commonID * feat: abstracting lru cache and other caches to their own package
- Loading branch information
1 parent
52b27e0
commit 87e0b62
Showing
17 changed files
with
186 additions
and
64 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 0 additions & 15 deletions
15
apps/services/accounts-graphql/internal/graph/generated/prelude.generated.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
25 changes: 20 additions & 5 deletions
25
apps/services/accounts-graphql/internal/graph/generated/root_.generated.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
39 changes: 13 additions & 26 deletions
39
apps/services/accounts-graphql/internal/graph/generated/schema.generated.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
5 changes: 4 additions & 1 deletion
5
apps/services/accounts-graphql/internal/graph/models/models_gen.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
apps/services/accounts-graphql/internal/graph/resolvers/accounts.resolvers.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module libs/backend/cache | ||
|
||
go 1.23 | ||
|
||
require github.com/hashicorp/golang-lru v1.0.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
github.com/hashicorp/golang-lru v1.0.2 h1:dV3g9Z/unq5DpblPpw+Oqcv4dU/1omnb4Ok8iPY6p1c= | ||
github.com/hashicorp/golang-lru v1.0.2/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= |
Oops, something went wrong.