Commit Graph

13 Commits

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