https://www.prisma.io/ logo
Join Slack
Powered by
# random
  • s

    Slackbot

    11/12/2018, 1:33 PM
    This message was deleted.
    d
    i
    • 3
    • 23
  • g

    Gorodov Maksim

    11/12/2018, 4:31 PM
    Have anyone had experience with setting up dokku + node.js? I'm running node.js server inside dokku but I cannot understand how to get access to this server using the link. I'm running it on the port 8080 and trying to get access like this: http://url:8080 but it doesn't work 😞 Tried to change the port to 80 but it doesn't work either. Checked logs, the server is running but it doesn't show any info about me trying to connect to it. My Dockerfile:
    Copy code
    FROM node:10.13.0
    
    WORKDIR /usr/src/app
    COPY package*.json ./
    RUN npm install
    COPY . .
    
    EXPOSE 8080
    
    CMD [ "npm", "start" ]
    The server is hosted on Digital Ocean.
  • j

    jacm

    11/13/2018, 11:02 AM
    -.txt
  • j

    jacm

    11/13/2018, 11:03 AM
    the tarball copy maybe is not necesary
  • n

    Novalis

    11/21/2018, 12:55 PM
    Hey there, got some little questions: What is the best service (Heroku, google cloud, etc.) for deploying a prisma service for free? I always get problems with heroku because the services are falling asleep after a while. Means i can't deploy to that service for a while, fetch data, etc. I also use Prisma cloud with the heroku binding to deploy my services. I didn't need to use docker for this, however i somehow feel that's not good practice. Would it be better to use docker even though i use the heroku - prisma cloud binding? (i think using docker would give me the option to deploy to any Webservice right?). I'm still fresh to this topic 🙂
    👍 1
    a
    r
    j
    • 4
    • 5
  • t

    tylim

    11/22/2018, 8:42 AM
    hello guys, any idea how to store chat data in psql?
  • j

    JohnC

    11/23/2018, 12:22 AM
    @tylim create a type? deploy it with prisma, do stuff?
    t
    • 2
    • 1
  • a

    Alejandro Estrada

    11/23/2018, 3:29 PM
    Hi everybody!! I want to invite all of you to check https://easygraphql.com … EasyGraphQL is a group of open source tools, with the main focus to help developers that use GraphQL or just want to start using it.
    👍 1
    e
    a
    • 3
    • 3
  • f

    Fabian

    11/25/2018, 8:51 PM
    Hello guys! I am looking for / working on a minimal graphql backend stack, which only needs one schema and support auth, validation and custom resolvers. The stack should forward simple CURDs (after validation and authentication) directly to something like prisma. I dont lke to write trivial boilerplate CRUD resolvers when it should be possible to just generate them out of a schema. I don't know, why this type of stack is so hard to achieve. I have seen a lot of trys, but nothing really production ready. For prisma, I tried: - https://medium.com/@lastmjs/advanced-graphql-directive-permissions-with-prisma-fdee6f846044 - https://github.com/Bkucera/prisma-graphql-dnd - https://github.com/prisma/graphqlgen But everything still results in too much boilerplate or schema splitting which is not a joy to set up. also www.hasura.io comes quite close, but the validation and authentication is qute a hassle. I just want to be able to deploy a simple api for a simple webapp with just writing the schema and a few custom resolvers for auth and maybe validation (should also be possible in something like a schema?) Has someone any ideas on how to approach this goal?
  • n

    Nick

    11/26/2018, 5:29 AM
    Question to the creators... 1. Do you guys consider prisma and graphql-yoga to be a SAAS of Node.js similiar to Ruby on Rails? 2. Would you guys recommend it for a startups or just new developers that rapidly needs a graphql backend with auth or other business logics that you can easily get with a rails app.
  • p

    pllumh

    11/26/2018, 10:04 AM
    Can someone shine some light to something happening in my code right now... I've got a route on express server:
    Copy code
    server.express.get('/test', (req, res, done) => { 
      sendEmail();
      res.send('cool')
    });
  • p

    pllumh

    11/26/2018, 10:05 AM
    And it sends the email when I go to
    /test
    , that's all fine ... but it also send the email everytime I go to that Tab in chrome
    f
    • 2
    • 19
  • p

    pllumh

    11/26/2018, 10:06 AM
    When i change tabs
  • p

    pllumh

    11/26/2018, 10:07 AM
    Don't need to fix this or anything... I'm just wondering technically how can that even happen... I'm checking the network tab on developer console.. and there is no request there either
  • t

    tylim

    11/26/2018, 1:27 PM
    💯 1
    c
    • 2
    • 1
  • t

    tylim

    11/26/2018, 1:28 PM
    LMAO!
  • f

    fgreinus

    11/26/2018, 1:48 PM
    😄
  • t

    tylim

    11/26/2018, 1:55 PM
    h
    • 2
    • 3
  • t

    tylim

    11/26/2018, 1:55 PM
    heh guys, what should i use for prisma server?
  • t

    tylim

    11/26/2018, 1:56 PM
    webroot or standalone?
  • c

    captaindaylight

    11/27/2018, 3:44 PM
    hey I just made a fullstack auth example for myself https://github.com/captDaylight/fullstack-prisma-apollo if anyone is interested would love some feedback
    fast parrot 5
    👍 9
  • a

    Abonora

    11/27/2018, 5:57 PM
    Twitter
  • w

    wontwon

    11/28/2018, 5:08 AM
    hello does anyone experience using a faker for seeding their graphql databases?
    a
    • 2
    • 1
  • p

    pllumh

    12/05/2018, 9:52 AM
    Is there any downside, in building a whole website / webapp with react ? meaning home page, about, and the app itself, and everything ?
    f
    • 2
    • 2
  • p

    pllumh

    12/05/2018, 9:52 AM
    Knowing that bigger web apps, usually aren't build like this... it feels kinda weird doing it this way
    j
    • 2
    • 1
  • f

    Frigo

    12/05/2018, 7:04 PM
    Hello! I have a schema with
    type Offer
    that is in a one-many relation with
    Event
    . I try to write a query that gives me all the offers that have no `Event`s and I thought this is an obvious use case, but for the life of me I cannot find a solution other than selecting every
    Offer
    and filtering on the client. I found this (https://www.prisma.io/forum/t/filtering-out-data-based-on-whether-relations-exists/215), but based on my current prisma knowledge I have no idea what
    filter
    is, in Playground it is not a valid syntax. How can this be done?
    i
    • 2
    • 10
  • a

    ankit5174

    12/06/2018, 7:09 AM
    subscription userSubscription($filter: UserSubscriptionFilter!) { User(filter: $filter) { mutation node { name addresses { id pincode } } } } in this subscription query i need to pass filter variable with value {mutation_in: [CREATED]}... However CREATED is an enum, how do i pass it as filter variable If i hardcode oin query itself then its working .... for example below query is working subscription userSubscription { User(filter: {mutation_in: [CREATED] node{name contains"ankit"}}) { mutation node { name addresses { id pincode } } } } i want to pas the whole filter variable dynamically using the variables field when setting up the subscription
  • r

    rohan

    12/06/2018, 10:29 AM
    I am new in the use of Prisma but getting an error :"'prisma' is not recognized as an internal or external command, operable program or batch file." i have installed prisma globally but still getting this .please give me solution
    c
    h
    • 3
    • 4
  • m

    Marius

    12/06/2018, 3:25 PM
    Hello prisma people 🙂 I am just getting started with Prisma and I would like to thank all the people that got involved into getting this wonderful project out there!!! You rock! Since I am just getting started I have 2-3 trivial questions (if this is the wrong place please point me to the right direction, thank you) 1. Can I have the prisma server connect to a MongoDB for e.g. without using a docker image? 2. Can I create using the same model definitions (etc) 2 implementations? One that will expose a REST api and one a GraphQL for Apollo Client ? 3. Is there a way to integrate auth. at the user level out of the box ? I hope this is are not to stupid questions. Thank you
    d
    • 2
    • 6
  • h

    Hyo

    12/06/2018, 10:28 PM
    Today I am working on jwt with prisma for user authentication. This blog helped me to get the idea. https://medium.com/@maticzav/graphcool-1-0-example-series-authentication-282f274b8343
    👍 1
    a
    • 2
    • 1
1...252627...53Latest