{"action":"created","issue":{"url":"https://api.github.com/repos/codefordenver/members/issues/274","repository_url":"https://api.github.com/repos/codefordenver/members","labels_url":"https://api.github.com/repos/codefordenver/members/issues/274/labels{/name}","comments_url":"https://api.github.com/repos/codefordenver/members/issues/274/comments","events_url":"https://api.github.com/repos/codefordenver/members/issues/274/events","html_url":"https://github.com/codefordenver/members/issues/274","id":380952880,"node_id":"MDU6SXNzdWUzODA5NTI4ODA=","number":274,"title":"Research what it would take to migrate the backend to Prisma","user":{"login":"wdoug","id":5432102,"node_id":"MDQ6VXNlcjU0MzIxMDI=","avatar_url":"https://avatars3.githubusercontent.com/u/5432102?v=4","gravatar_id":"","url":"https://api.github.com/users/wdoug","html_url":"https://github.com/wdoug","followers_url":"https://api.github.com/users/wdoug/followers","following_url":"https://api.github.com/users/wdoug/following{/other_user}","gists_url":"https://api.github.com/users/wdoug/gists{/gist_id}","starred_url":"https://api.github.com/users/wdoug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdoug/subscriptions","organizations_url":"https://api.github.com/users/wdoug/orgs","repos_url":"https://api.github.com/users/wdoug/repos","events_url":"https://api.github.com/users/wdoug/events{/privacy}","received_events_url":"https://api.github.com/users/wdoug/received_events","type":"User","site_admin":false},"labels":[{"id":907953027,"node_id":"MDU6TGFiZWw5MDc5NTMwMjc=","url":"https://api.github.com/repos/codefordenver/members/labels/research","name":"research","color":"ff55ff","default":false}],"state":"closed","locked":false,"assignee":{"login":"cvanem","id":24579103,"node_id":"MDQ6VXNlcjI0NTc5MTAz","avatar_url":"https://avatars3.githubusercontent.com/u/24579103?v=4","gravatar_id":"","url":"https://api.github.com/users/cvanem","html_url":"https://github.com/cvanem","followers_url":"https://api.github.com/users/cvanem/followers","following_url":"https://api.github.com/users/cvanem/following{/other_user}","gists_url":"https://api.github.com/users/cvanem/gists{/gist_id}","starred_url":"https://api.github.com/users/cvanem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvanem/subscriptions","organizations_url":"https://api.github.com/users/cvanem/orgs","repos_url":"https://api.github.com/users/cvanem/repos","events_url":"https://api.github.com/users/cvanem/events{/privacy}","received_events_url":"https://api.github.com/users/cvanem/received_events","type":"User","site_admin":false},"assignees":[{"login":"cvanem","id":24579103,"node_id":"MDQ6VXNlcjI0NTc5MTAz","avatar_url":"https://avatars3.githubusercontent.com/u/24579103?v=4","gravatar_id":"","url":"https://api.github.com/users/cvanem","html_url":"https://github.com/cvanem","followers_url":"https://api.github.com/users/cvanem/followers","following_url":"https://api.github.com/users/cvanem/following{/other_user}","gists_url":"https://api.github.com/users/cvanem/gists{/gist_id}","starred_url":"https://api.github.com/users/cvanem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvanem/subscriptions","organizations_url":"https://api.github.com/users/cvanem/orgs","repos_url":"https://api.github.com/users/cvanem/repos","events_url":"https://api.github.com/users/cvanem/events{/privacy}","received_events_url":"https://api.github.com/users/cvanem/received_events","type":"User","site_admin":false}],"milestone":null,"comments":16,"created_at":"2018-11-15T00:53:38Z","updated_at":"2018-11-16T17:00:04Z","closed_at":"2018-11-16T03:00:32Z","author_association":"MEMBER","body":"[Prisma](https://www.prisma.io) is the successor to the graphcool-framework backend that we are using currently. Previously we avoided this because we would have to set up a new database and jump through several other hoops.\n\nIt is possible this is still the case, but the benefits might be worth the cost. One thing to note is that running:\n```sh\nnpm install -g graphql-cli\ngraphql create my-app --boilerplate node-basic\n```\n(see https://github.com/graphql-boilerplates/node-graphql-server/tree/master/basic) will automatically set up a database and a live graphql server for you, so maybe we can just use that functionality (I don't actually understand exactly what it is doing to be honest)."},"comment":{"url":"https://api.github.com/repos/codefordenver/members/issues/comments/439458332","html_url":"https://github.com/codefordenver/members/issues/274#issuecomment-439458332","issue_url":"https://api.github.com/repos/codefordenver/members/issues/274","id":439458332,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTQ1ODMzMg==","user":{"login":"wdoug","id":5432102,"node_id":"MDQ6VXNlcjU0MzIxMDI=","avatar_url":"https://avatars3.githubusercontent.com/u/5432102?v=4","gravatar_id":"","url":"https://api.github.com/users/wdoug","html_url":"https://github.com/wdoug","followers_url":"https://api.github.com/users/wdoug/followers","following_url":"https://api.github.com/users/wdoug/following{/other_user}","gists_url":"https://api.github.com/users/wdoug/gists{/gist_id}","starred_url":"https://api.github.com/users/wdoug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdoug/subscriptions","organizations_url":"https://api.github.com/users/wdoug/orgs","repos_url":"https://api.github.com/users/wdoug/repos","events_url":"https://api.github.com/users/wdoug/events{/privacy}","received_events_url":"https://api.github.com/users/wdoug/received_events","type":"User","site_admin":false},"created_at":"2018-11-16T17:00:04Z","updated_at":"2018-11-16T17:00:04Z","author_association":"MEMBER","body":"Oh, I must have been confused because some of the boilerplates don't use the application layer at all and just have the prisma database layer...\r\n\r\nHmm. That's unfortunate. That means we would potentially have 4 different components for this: database, prisma server, application server, and frontend server right? We should probably look into our options for this before we move forward. I'd still like to see if we can take advantage of a free tier that doesn't sleep (i.e. not using heroku for the application layer). \r\n\r\nI wonder if we could use [Netlify Functions](https://www.netlify.com/features/functions/) for the authentication/application layer since we are already using Netlify for the frontend. I suppose it might also be worth looking into moving auth to [Netlify Identity](https://www.netlify.com/docs/identity/) instead of Auth0 since Auth0 has proved to not be as simple as advertised (although that would probably be a bigger headache - maybe we could do it later). Zeit now might also be a decent option for the application layer if that doesn't work. Then what? Would we use Prisma cloud for the prisma layer and database? Or prisma cloud for the prisma layer and something like the free tier on [Heroku Postgres](https://www.heroku.com/postgres)? Could we push the prisma data layer up to wherever we are hosting the application layer? It seems like it would be beneficial for those to be co-located, but maybe for our purposes, it wouldn't matter much? \r\n\r\nIs this whole thing even worth it? Thoughts @cvanem, @dchao19?"}}
{"actor":{"display_login":"wdoug"}}