Commit Graph

29 Commits

Author SHA1 Message Date
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