Commit Graph

211 Commits

Author SHA1 Message Date
Praveen Durairaj
4253817c43 learn: add hasura backend course (#2134) 2019-05-10 15:06:24 +05:30
Anon Ray
a21f6cd648 introduce v1/graphql (fix #1368) (#2064)
Changes compared to `/v1alpha1/graphql`

* Changed all graphql responses in **/v1/graphql** endpoint to be 200. All graphql clients expect responses to be HTTP 200. Non-200 responses are considered transport layer errors. 

* Errors in http and websocket layer are now consistent and have similar structure.
2019-05-10 11:35:10 +05:30
swyx
57378dd21e add instructions on netlify function as event trigger (#2110) 2019-05-07 12:01:56 +05:30
savil
b2d98fba87 community: fix broken links (#1963)
the directory refactoring left these image URLs dangling
2019-05-07 11:06:19 +05:30
Praveen Durairaj
fc4638fc9d ra-data-hasura: add support for multiple schemas (close #1729) (#2068) 2019-05-06 14:53:35 +05:30
Praveen Durairaj
e828ec9948 graphql-tutorials: remove gatsby tutorial site (#2119) 2019-05-06 14:52:10 +05:30
Praveen Durairaj
8538b5dadb graphql-tutorials: add videos to react tutorial (#2115) 2019-05-03 21:08:27 +05:30
Praveen Durairaj
09805e4124 tutorials: learn react sitemaps, content fixes (closes #2090) (#2079)
* added sitemap, content fix

* update content, fix content selection

* remove console.log

* add github links

* support moz-user-select-none

* fix mobile navigation collapse
2019-04-30 14:40:58 +05:30
Daniel Madalitso Phiri
0a876ff2ba graphql2chartjs: update readme with typo fix (#2067) 2019-04-26 10:03:24 +05:30
Praveen Durairaj
20dd0ce2fd learn react content fixes (#2063) 2019-04-25 15:33:56 +05:30
Praveen Durairaj
f4ddfd88a0 add react graphql tutorial (#2061) 2019-04-24 16:57:27 +05:30
John Bampton
91f4d7b5e2 change Github to GitHub at multiple places (#2046) 2019-04-23 15:39:28 +05:30
Vladimir Novick
1575519224 add realtime chat sample app with vue (#1885) 2019-04-05 12:16:29 +05:30
Praveen Durairaj
39b623f715 add nextjs 8 jwt sample app (#1943) 2019-04-03 19:21:11 +05:30
Rishichandra Wawhal
abfe7ae88f firebase2graphql (v0.0.2): support array types in firebase json (close #1829) (#1900) 2019-04-03 17:11:28 +05:30
Praveen Durairaj
8e78e27707 add vuejs-auth0-graphql sample app (#1898)
This is a sample Vue.js app with Auth0 integration. Has a simple schema with users and article tables with permissions setup. Once the user logs in to the app, the articles written by the user would be shown.
2019-03-29 12:22:59 +05:30
Shahidh K Muhammed
9630149663 npm security fixes 2019-03-27 22:08:43 +05:30
Rishichandra Wawhal
c7fdf013fa firebase2graphql(v0.0.1-alpha8) example usage fix (#1881) 2019-03-27 15:22:00 +05:30
comerc
6585e3d78f fix a typo in boilerplates/auth-webhooks/passport-js (#1351) 2019-03-27 14:17:23 +05:30
Praveen Durairaj
b3bf0b029d graphiql-online upgrade deployment to now 2.0 (close #1838) (#1858) 2019-03-27 13:56:04 +05:30
Praveen Durairaj
26ed94fb19 add vuetify-vuex-todo-graphql sample app (#1866) 2019-03-26 14:36:46 +05:30
Praveen Durairaj
420dde77dc add auth0 tutorial link to react-apollo-todo landing page (#1819) 2019-03-22 12:28:20 +05:30
Tirumarai Selvan
ed9a5b962a add rest-wrapper remote schema boilerplate (#1826) 2019-03-20 16:15:45 +05:30
Praveen Durairaj
2ee9820c22 update whatsapp clone sample app (#1822) 2019-03-20 15:03:04 +05:30
Praveen Durairaj
42b1d16625 add quasar framework sample app (#1825) 2019-03-20 12:42:50 +05:30
Praveen Durairaj
3502dab419 update dockerfile (#1820)
update dockerfile for whatsapp-clone auth-server [skip ci]
2019-03-19 15:47:29 +05:30
Praveen Durairaj
6223852e9d add whatsapp-clone sample app (#1730)
This is a forked version of Urigo's [WhatsApp Clone](https://github.com/Urigo/WhatsApp-Clone-server), integrated with Hasura.
Hasura GraphQL APIs are used in place of custom resolvers. A simple JWT server replaces the original auth server. Image uploads use the same Cloudinary APIs.
[Original React Client](https://github.com/Urigo/WhatsApp-Clone-Client-React) has been updated to match Hasura APIs and typescript definitions have been generated using GraphQL Code Generator.
2019-03-19 12:15:41 +05:30
Rishichandra Wawhal
2777b45335 add onegraph explorer to graphiql online (close #1816 ) (#1817) 2019-03-19 12:14:04 +05:30
Rishichandra Wawhal
fb9df2ac94 fix constructor initialization in graphql2chartjs (#1787) 2019-03-15 14:11:33 +05:30
Shahidh K Muhammed
7ef7e99661
npm audit fix for packages in community folder (#1785) 2019-03-15 12:34:29 +05:30
Rishichandra Wawhal
a9cd694eff add graphql2chartjs to community tools (#1669) 2019-03-14 14:30:41 +05:30
Praveen Durairaj
36cb6f8b13 remove localStorage usage with auth0 (#1690)
Auth0 best practices recommend to not store tokens in localStorage. [Reference](https://auth0.com/docs/security/store-tokens#don-t-store-tokens-in-local-storage)

Updated code to make use of [checkSession](https://auth0.com/docs/libraries/auth0js/v9#using-checksession-to-acquire-new-tokens) which makes use of cookies.
2019-03-13 12:34:36 +05:30
Tirumarai Selvan
d6a3cf337f add hello-world remote-schema boilerplates for major serverless providers (#1694)
A hello world schema is provided with local dev and deployment instructions for AWS Lambda, Google Cloud Functions and Azure Functions.

Older boilerplates are cleaned up.
2019-03-05 21:45:39 +05:30
comerc
e3e1200bae fix a typo in todo-auth0-jwt sample app (#1334) 2019-03-01 16:07:12 +05:30
Selvaganesh
95587bc028 added nodejs8 aws lambda boilerplate (#790) 2019-03-01 15:38:51 +05:30
Praveen Durairaj
039f16b906 update instructions for directory change (#1539) 2019-03-01 15:24:26 +05:30
Tirumarai Selvan
32ef67a20c remove stale folder for gatsby nextjs boilerplates (#1652) 2019-02-25 12:52:09 +05:30
Pilou
e7fba40fad added auth-jwt-roles boilerplate (#1570)
Added a boilerplate from [this original repository](https://github.com/platyplus/authentication-server) based on the discussions in [this issue](https://github.com/hasura/graphql-engine/issues/1420) and [this issue](https://github.com/hasura/graphql-engine/issues/1446).

[skip ci]
2019-02-21 16:42:47 +05:30
Praveen Durairaj
5fc2df2766 add nextjs-8-serverless sample app (#1640) 2019-02-21 15:27:20 +05:30
nizar-m
f83a8e591f rename access-key to admin-secret (close #1347) (#1540)
Rename the admin secret key header used to access GraphQL engine from X-Hasura-Access-Key to X-Hasura-Admin-Secret.

Server CLI and console all support the older flag but marks it as deprecated.
2019-02-14 15:07:47 +05:30
Praveen Durairaj
9c914f5637 add react-static-graphql sample app (#1569) 2019-02-08 15:14:35 +05:30
Darío Javier Cravero
5739b75000 allow exporting async functions as databases in json2graphql (#1543) 2019-02-01 17:04:36 +05:30
yiksanchan
2893fe7126 fix a typo in realtime chat sample app (#1522)
Fix a typo.
2019-01-30 12:57:29 +05:30
Rishichandra Wawhal
b9b13d47b9 Update README.md (#1380)
update readme for firebase-cloud-functions
2019-01-29 21:30:48 +05:30
Rishichandra Wawhal
ef565590af remove the usage of spread operator in setState (#1490) 2019-01-29 13:10:53 +05:30
Tirumarai Selvan
e17fb119e3 update readme for todo-auth0-jwt (#1472) 2019-01-25 15:34:25 +05:30
samuela
e7a42c6772 community: encourage good security in email checking (#1421)
The current regex is vulnerable to all sorts of attacks: `foobar.com@gmail.com` or `jim@asdffoobar.com`.
2019-01-25 00:06:49 +05:30
Praveen Durairaj
a67346458d support any type for id column in ra-data-hasura (close #1443) (#1451) 2019-01-24 09:36:45 +05:30
Praveen Durairaj
c3b6ba3bf0 add nuxtjs-postgres-graphql (#1439)
add nuxtjs-postgres-graphql to sample apps
2019-01-23 16:49:32 +05:30
dsandip
c09541f4f7 fix typo in community readme (#1432) 2019-01-21 18:44:21 +05:30
dsandip
fcb6bd6449 modify contributing guides for docs, console and community (#1427) 2019-01-21 16:49:35 +05:30
Praveen Durairaj
964645cbb1 ra-data-hasura patch for get_many_reference (#1419)
* fix get_many_reference definition

* update package version

* update changelog and github url
2019-01-20 10:25:45 +05:30
Praveen Durairaj
2022091391 add react-admin data provider (close #783) (#1407) 2019-01-19 20:49:35 +05:30
Tirumarai Selvan
9f6ce68e3c refactor community content and folder structure (#1353) 2019-01-17 15:57:28 +05:30
Rishichandra Wawhal
c23fcc8a80 json2graphql update README.md (#1382) 2019-01-15 18:16:11 +05:30
Rishichandra Wawhal
92b071afdf json2graphql: clean up, update readme, add examples (#1375) 2019-01-15 17:10:29 +05:30
Rishichandra Wawhal
a9e2326ea8 remove auth0 webhook ref from docs and community (#1341) 2019-01-08 16:36:16 +05:30
Rakesh Emmadi
3026c49087 apply update permissions for upsert mutations (#628) 2018-12-15 21:40:29 +05:30
Praveen Durairaj
e929cc4402 accept query_file query param for preloading queries (#1185) 2018-12-12 12:46:13 +05:30
Praveen Durairaj
12231bc062 add env to handle graphql endpoint for graphiql-online (#1178)
[skip ci]
2018-12-11 14:31:46 +05:30
Shahidh K Muhammed
c985a6d1ed
update demo app links (#1122) 2018-11-27 16:01:56 +05:30
surendran82
01aa56a807 realtime chat app ui update (#1101) 2018-11-26 19:41:00 +05:30
Shahidh K Muhammed
ad2c911301
update example apps for uniform deployment (#1105) 2018-11-26 18:27:52 +05:30
Anon Ray
512ee6fb9f adds basic support for remote schemas/schema stitching (#952) 2018-11-23 18:32:46 +05:30
surendran82
9d53f38ec4 react-apollo-todo example app ui fixes (#1091) 2018-11-22 13:19:15 +05:30
Praveen Durairaj
643042c2d5 add react-apollo-todo with auth0 example (#1083) 2018-11-21 19:19:40 +05:30
Rishichandra Wawhal
f3f1f3e36a realtime-chat: update footer with blogpost (#1070) 2018-11-21 13:12:01 +05:30
Rishichandra Wawhal
6603845ff1 render playground for custom resolvers boilerplate (close #1060) (#1065) 2018-11-21 12:52:54 +05:30
Karthik Venkateswaran
1b1658221c update realtime poll and location tracking apps (#1066) 2018-11-20 17:13:27 +05:30
Shahidh K Muhammed
8b28143774
update todo-auth0 readme to include env var config (#1020) 2018-11-14 10:34:36 +05:30
Karthik Venkateswaran
9a91ec2536 remove package-lock from realtime example apps (#1025) 2018-11-14 10:31:29 +05:30
Rishichandra Wawhal
51abce2c1c do not create columns starting with __ in firebase2graphql (fix #1001) (#1002) 2018-11-13 16:12:41 +05:30
Akshat Agarwal
edfde9e68e fix typos in serverless etl readme (#959) 2018-11-08 12:10:47 +05:30
Pranav Dixit
e7995dcb71 fix some grammatical and spelling mistakes (#958) 2018-11-08 12:06:53 +05:30
Abhinav Srivastava
c776cd84a6 update multiple files (#943) 2018-11-08 12:02:57 +05:30
Stef Lewandowski
c60cc7fe9d use awk to convert the pem to one line (#889)
I tried the `sed` command, but on OSX this outputs the certificate with newlines unchanged. This `awk` command does the job.
2018-11-06 18:35:17 +05:30
Praveen Durairaj
5b987a4acd update graphiql-online footer css (#967) 2018-11-02 16:00:16 +05:30
Mohammed Rishad
58ccddc76e pep8 fixes for python files (#875) 2018-10-30 14:51:58 +05:30
Soumya Ranjan Mohanty
e369b2f869 fix a typo in firebase-jwt tutorial (close#863) (#864) 2018-10-27 15:24:39 +05:30
Rakesh Emmadi
f6ed169219 allow ordering using columns from object relationships (closes #463) (#672)
* allow ordering using columns from object relationships, close #463

* validate table fields in nested insert

* add tests

* add docs

* change 'table_order_by' type from enums to ordered map

* remove unwanted code from 'Schema.hs' file

* 'AnnGObject' is not list of field name and value tuple

* update docs for new order_by type

* use 'InsOrdHashMap' for 'AnnGObj'

* handle empty fields in order_by

* remove '_' prefixes for asc/desc

* fix the changed order_by syntax across the repo
2018-10-26 17:27:33 +05:30
Praveen Durairaj
7fa6203b4f seo update for graphiql-online (#857) 2018-10-26 08:28:51 +05:30
Praveen Durairaj
1266bbf354 add online graphiql to community tools (#716) 2018-10-25 14:57:02 +05:30
Abhinav Gautam
f07e460c59 update serverless trigger boilerplate for go (#801) 2018-10-20 14:20:23 +05:30
Spencer Ng
a0a97d709d improve documentation (fix #745) (#746) 2018-10-19 22:29:18 +05:30
Russ Callahan
fc844bef01 update json2graphql readme (#761) 2018-10-16 17:20:51 +05:30
Rishichandra Wawhal
043b76bab7 sanitise data of special characters before inserting using json2graphql (#770) 2018-10-16 14:53:01 +05:30
Rishichandra Wawhal
fb9407f696 add a footer to chat app with a hasura logo (#752) 2018-10-15 16:28:49 +05:30
Jamie
22afdfc220 reformat a css file in realtime chat example (close #738) (#739) 2018-10-15 14:13:36 +05:30
Daniel P
b91704e3ca fix typos is multiple files (#728) 2018-10-15 12:29:51 +05:30
Ishaan Malhi
e2817b1b1b add golang examples for aws lambda (#602) 2018-10-15 09:53:15 +05:30
Shahidh K Muhammed
3156f7d62d
add auth-webhook boilerplate in python-flask (#714) 2018-10-12 17:06:21 +05:30
Karthik Venkateswaran
4ee342e44d add nextjs-postgres-graphql boilerplate (#686) 2018-10-10 12:59:48 +05:30
Rishichandra Wawhal
68c5f8ca85 firebase2graphql: add realtime section in readme (#674) 2018-10-08 15:25:28 +05:30
Rishichandra Wawhal
fbd220621d firebase2graphql: improve readme structure, update git and add more tests (#666) 2018-10-08 11:42:42 +05:30
Arpit Kushwaha
8454e70614 add some color to hearts (#656)
fill some colours in those colourless hearts
2018-10-05 23:46:29 +05:30
Anon Ray
e460ec0e62 add firebase example to use with jwt mode (close #648) (#649) 2018-10-05 15:21:45 +05:30
Rishichandra Wawhal
ddfd7cd0fe update data modelling for realtime chat app (#630) 2018-10-04 09:10:17 +05:30
Rishichandra Wawhal
30273d354d improve normalization for firebase2graphql (#621) 2018-10-04 09:09:42 +05:30
Shahidh K Muhammed
d2dfe7b026
update serverless triggers on zeit now (close #490) (#613)
This PR re-writes the README for serverless triggers on Zeit Now. `zeit-serverless-docker` have been renamed to `zeit-now`. Echo and mutation examples for Go and NodeJS are added.
2018-10-02 16:36:28 +05:30
Rosário Pereira Fernandes
f40da07aaa add nodejs 6 and python for serverless triggers on gcloud functions (#608) 2018-10-02 14:39:06 +05:30
Karthik Venkateswaran
9325e241c0 update gatsby-postgres-graphql readme (#577)
some typo fixes
2018-09-29 11:17:35 +05:30
Rishichandra Wawhal
0cf981ddf8 update firebase2graphql readme (#575) 2018-09-28 18:19:05 +05:30
Rishichandra Wawhal
bdb73fe6d1 add firebase2graphql to community tools (#573) 2018-09-28 17:45:22 +05:30
Karthik Venkateswaran
fb8af76bc4 update gatsby-postgres-graphql boilerplate (#556) 2018-09-27 19:28:26 +05:30
Karthik Venkateswaran
0ebe82c598 update gatsby-postgres-graphql boilerplate (#551) 2018-09-27 16:13:18 +05:30
Aravind Shankar
ebc3589118 add passport-js auth webhook boilerplate (#528) 2018-09-26 17:57:59 +05:30
Karthik Venkateswaran
33accea81c add gatsby-postgres-hasura boilerplate (#499) 2018-09-20 21:03:46 +05:30
Rishichandra Wawhal
3d6732b678 change table and foreign-key naming conventions in json2graphql (#485)
Foreign keys will now be detected if a column name is `<table_name>_id`.

Earlier, foreign keys would be detected when column name was `<table_name - s>_id`. This was a problem because it placed restrictions on table names. Such restrictions were limiting us from importing complicated JSON databases.

Here are the examples of JSON sampel data for a user, post and comment schema as per new and old conventions:

Old convention:

```
{
    posts: [
        { id: 1, title: "Lorem Ipsum", views: 254, user_id: 123 },
        { id: 2, title: "Sic Dolor amet", views: 65, user_id: 456 },
    ],
    users: [
        { id: 123, name: "John Doe" },
        { id: 456, name: "Jane Doe" }
    ],
    comments: [
        { id: 987, post_id: 1, body: "Consectetur adipiscing elit" },
        { id: 995, post_id: 1, body: "Nam molestie pellentesque dui" }
    ]
}
```

New convention:

```
{
    post: [
        { id: 1, title: "Lorem Ipsum", views: 254, user_id: 123 },
        { id: 2, title: "Sic Dolor amet", views: 65, user_id: 456 },
    ],
    user: [
        { id: 123, name: "John Doe" },
        { id: 456, name: "Jane Doe" }
    ],
    comment: [
        { id: 987, post_id: 1, body: "Consectetur adipiscing elit" },
        { id: 995, post_id: 1, body: "Nam molestie pellentesque dui" }
    ]
};
``` 

@FrediBach I am not sure how this would affect [Blowson](https://github.com/FrediBach/json-data-extender). Can you provide some input?
2018-09-19 14:18:52 +05:30
Rishichandra Wawhal
68a2e0372f add json2graphql to community tools (#454) 2018-09-17 18:23:23 +05:30
Anon Ray
f7dbf2a6f1 add jwt + auth0 todo example app (#445) 2018-09-14 09:47:08 +05:30
Anon Ray
acd62c3bf8 add community boilerplates and examples (#430) 2018-09-13 12:00:07 +05:30