An apollo-graphql server to query the CBRAIN REST API
- Edit
server/env.templateintoserver/.envto configure the graphql server.CBRAIN_ENDPOINTcorresponds to the port where your local instance of CBRAIN is running.CLIENT_ENDPOINTcorresponds to the port where your user interface is running (used during development).PORTcorresponds to the port on which you are running this (graphql) server.
- Run
npm installthe first time. - Run
npm run startto start the graphql server.