This is the backend for the AO Gallery project.
git clone https://github.com/ao-libre/ao-gallery-server
cd graphql-js
yarn install # or `npm install`
yarn global add prisma
prisma deploy
When prompted where (i.e. to which Prisma server) you want to deploy your service, choose the Demo server which can be used for free in Prisma Cloud. If you haven't done so already, you will be asked to register with Prisma Cloud (which you can do via GitHub). For the following prompts in the terminal you can select the suggested values by hitting Enter. (If you have Docker installed, you can also choose to deploy Prisma locally by creating a new database.)
To interact with the API in a GraphQL Playground, all you need to do is execute the start
script defined in package.json
:
yarn start