53 Commits

Author SHA1 Message Date
Zhigang Fang
1d3b8a2a9b feat: use / as playground 2023-03-04 12:32:23 +08:00
Kristian Freeman
496f299249 Merge pull request #34 from timecode/update
updates apollo (3.3.0) and graphql (15.6.0)
v1.2.0
2021-10-06 11:14:04 -05:00
Rob Playford
9b9046666f add simple sanity check for external data source 2021-10-03 10:54:09 +01:00
Rob Playford
60196dbc50 update repo links 2021-10-03 10:30:27 +01:00
Rob Playford
367878c20f formatting only (npm run format) 2021-10-03 10:20:13 +01:00
Rob Playford
b7ae583908 bump apollo (3.3.0) and graphql (15.6.0) 2021-10-03 10:12:57 +01:00
Rob Playford
2421227ce6 allow dev builds 2021-10-03 10:03:44 +01:00
Rob Playford
45a04a104a allow webpack 5 builds 2021-10-03 10:01:59 +01:00
Rob Playford
a3014193e0 fix wrangler generate bug 2021-10-03 09:51:33 +01:00
Rob Playford
cd02ff4406 Create .prettierrc 2021-10-03 09:44:54 +01:00
Rob Playford
7f4ebbf88a Update .gitignore 2021-10-03 09:44:46 +01:00
Kristian Freeman
953aa5ddbc Merge pull request #27 from abernix/abernix/apollo-server-2.21
Upgrade to `apollo-server-cloudflare@2.21` and mock 'tls' and 'net' modules.
2021-05-05 12:11:19 -05:00
Kristian Freeman
eb0982a706 Merge pull request #30 from ajcwebdev/master
Update links to Config and Auth docs
2021-05-05 12:10:50 -05:00
Anthony Campolo
d251f5b3ac Update links to Config and Auth docs 2021-05-04 17:04:32 -07:00
Jesse Rosenberger
dbe2bca423 Add comment as to why 'fs' builtin module is depended on.
Hopefully making it easier to understand why this was here and when it can
be removed!
2021-03-03 09:15:58 +00:00
Jesse Rosenberger
c979d3c652 Upgrade to apollo-server-cloudflare@2.21 and mock 'tls' and 'net' modules.
This upgrades to Apollo Server 2.21 and makes a Webpack configuration change
to make it possible to bundle that new version.

Per the comment added within the Webpack configuration which aliases the
'tls' and 'net' modules in the resulting bundle to empty modules:

The 'net' and 'tls' Node.js built-in usage within Apollo Server is merely to
run `instanceof` checks against an existing, user-supplied "server" instance
when subscriptions are desired to be bound to an already-created server.
For the purposes of Cloudflare, where none of these Node.js builtins exist,
this instanceof check is irrelevant because such a class could not exist.

This is necessary as of the introduction of those `instanceof` checks in
https://github.com/apollographql/apollo-server/commit/8ab0e90724d8d35ad.
2021-03-03 09:10:47 +00:00
Kristian Freeman
afb439f4ca Add deploy button 2020-08-19 11:53:29 -05:00
Kristian Freeman
2d8b5d951b 1.1.1
- Bump apollo-server-cloudflare
- Fix NPM warnings by removing placeholders in package.json
1.1.1
2020-08-19 11:47:24 -05:00
Kristian Freeman
b0564ed8c8 Add GitHub Actions deploy workflow 2020-08-19 11:39:15 -05:00
Kristian Freeman
373d61ac6d Merge pull request #18 from signalnerve/kristian/add-wrangler-toml
Add wrangler.toml
2019-12-13 12:11:53 -06:00
Kristian Freeman
a5c57e08e4 Add wrangler.toml
Closes #15
2019-12-13 12:06:41 -06:00
Kristian Freeman
36ce340f4c Merge pull request #14 from signalnerve/1.1.0
1.1.0
v1.1.0
2019-08-23 10:10:09 -07:00
Kristian Freeman
18396ff8ab Document updates in README 2019-08-23 10:09:13 -07:00
Kristian Freeman
64977fb9ed Update field from enableKvCache to kvCache 2019-08-23 10:08:58 -07:00
Kristian Freeman
5d6a28b243 Merge pull request #13 from signalnerve/kristian/kv-caching
Add KV cache support
2019-08-23 09:57:26 -07:00
Kristian Freeman
b838615098 Add KV cache support 2019-08-23 09:55:12 -07:00
Kristian Freeman
a36c488880 Fix async function 2019-08-20 09:39:55 -05:00
Kristian Freeman
40dcc81d94 Merge pull request #9 from signalnerve/kristian/cors
Add CORS support for GraphQL requests
2019-08-19 12:58:59 -05:00
Kristian Freeman
d8594d285b Allow CORS headers to be customizable via config 2019-08-19 12:58:27 -05:00
Kristian Freeman
e94a260e30 Initial code spike towards fixing CORS headers 2019-08-19 12:57:43 -05:00
Kristian Freeman
0b6db7c94a Fix pokeapi reference 2019-08-19 12:06:50 -05:00
Kristian Freeman
6e2b74a427 Merge pull request #10 from signalnerve/kristian/reorg
Re-organizing files to follow Apollo tuts
2019-08-19 12:02:53 -05:00
Kristian Freeman
943dd33563 Begin re-organizing files to follow Apollo tuts 2019-08-19 11:52:31 -05:00
Kristian Freeman
2e48eee1f4 Squash commits for 1.0.0 release v1.0.0 2019-07-25 11:25:17 -05:00
Kristian Freeman
6b73dc8ed1 Update version to 0.9.9 2019-07-16 12:27:55 -05:00
Kristian Freeman
70a4200b1b Update README 2019-07-16 12:27:55 -05:00
Kristian Freeman
b4c6616921 Create LICENSE 2019-07-16 12:22:33 -05:00
Kristian Freeman
5a2a591f75 Remove KV caching
We don't have the tooling to properly support this - I'd like to return to it in a couple months, but this project is functional without the cache, too!
2019-07-16 12:18:58 -05:00
Kristian Freeman
8a64cc1c67 Update to use Wrangler 2019-06-05 09:03:49 -05:00
Kristian Freeman
41d4245eaf KV binding details in readme 2019-05-29 13:42:38 -05:00
Kristian Freeman
1d7b6cecfb Remove null-ed dependencies, they fit now! 2019-05-29 13:40:51 -05:00
Kristian Freeman
bc589b5efe Remove extra files 2019-05-06 15:28:23 -05:00
Kristian Freeman
4d3cf0e58d KV key doesn't need to be encoded in a worker 2019-05-06 15:27:18 -05:00
Kristian Freeman
9778685e84 Fix encoding of cache keys, add stress test 2019-05-02 15:24:24 -05:00
Kristian Freeman
cb8f52c6ab Merge pull request #2 from signalnerve/caching
Add support for kv caching
2019-05-02 14:59:10 -05:00
Kristian Freeman
e0328b7302 Add some extra fields 2019-05-02 13:25:50 -05:00
Kristian Freeman
f41d767b64 Add support for kv caching! 2019-05-02 13:08:49 -05:00
Kristian Freeman
8445b57fe9 Merge pull request #1 from signalnerve/graphiql
Add graphiql and refactor to handlers
2019-05-02 11:39:58 -05:00
Kristian Freeman
e77e2ec155 Add graphiql and refactor to handlers 2019-05-02 11:37:53 -05:00
Kristian Freeman
efa3e77c98 try/catch + remove unused compression plugin 2019-05-01 18:19:47 -05:00