Say I have 3x different (web) apps - can a single ...
# orm-help
z
Say I have 3x different (web) apps - can a single Prisma server (+database) be able to serve these in isolation? Is this maybe the idea behind service-names in endpoint?
n
You can use the same server and database. But this is not in isolation, depending on your definition of isolation 🙂
z
it's a fuzzy definition I guess 🙂 maybe the question should be then "in what instance would I have to deploy a second server"? (what are the limitations of a single server)
I can't figure how to use .graphqlconfig.yml to serve different apps, eg
<http://mygraphqlserver.sh/app1>
<http://mygraphqlserver.sh/app2>
should match in .graphqlconfig.yml
Copy code
app1:
    schemaPath: src/schema2.graphql
    extensions:
      endpoints:
        dev: ${env:GRAPQH_URL}:3000/app1
        production: ${env:GRAPQH_URL}:3000/app1
in fact it doesn't matter whatever garbish I write into .graphqlconfig - it changes nothing