Skip to content

Commit

Permalink
Production App Example (#123)
Browse files Browse the repository at this point in the history
* Initial version of advanced example

* Add connections

* Update readme

* Update schema

* Add custom scalar

* Add likes

* Add support for @stream

* Tiny cleanup

* Add subscription example

* Subscribe to post likes

* Docs details

* Advanced test cases

* Use @SpecifiedBy

* Make GraphQL an explicit dependency in all example packages

* Rename "advanced" to "production app"

* Deprecate functional example in favor of production app example

* Reformat example docs for better discoverability of GitHub links
  • Loading branch information
captbaritone committed Mar 15, 2024
1 parent bc7cbcd commit d25a4b8
Show file tree
Hide file tree
Showing 50 changed files with 4,498 additions and 1,388 deletions.
3 changes: 2 additions & 1 deletion examples/apollo-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"homepage": "https://github.com/captbaritone/grats#readme",
"dependencies": {
"@apollo/server": "^4.9.5",
"@types/node": "^20.8.10"
"@types/node": "^20.8.10",
"graphql": "16.8.1"
},
"devDependencies": {
"grats": "workspace:*",
Expand Down
15 changes: 0 additions & 15 deletions examples/express-graphql-http-functions/README.md

This file was deleted.

101 changes: 0 additions & 101 deletions examples/express-graphql-http-functions/SchemaImpl.ts

This file was deleted.

116 changes: 0 additions & 116 deletions examples/express-graphql-http-functions/context.ts

This file was deleted.

47 changes: 0 additions & 47 deletions examples/express-graphql-http-functions/dist/schema.graphql

This file was deleted.

7 changes: 0 additions & 7 deletions examples/express-graphql-http-functions/interfaces/IPerson.ts

This file was deleted.

39 changes: 0 additions & 39 deletions examples/express-graphql-http-functions/models/Group.ts

This file was deleted.

36 changes: 0 additions & 36 deletions examples/express-graphql-http-functions/models/User.ts

This file was deleted.

Loading

0 comments on commit d25a4b8

Please sign in to comment.