This is the graphQL api for my Egghead course for building an offline capable news app with React Native and urql.
Note: this api is built for educational purposes, and is not suitable for production use: for the sake of simplicity, the bookmarks data is read and written to the file system in data.json.
To run this api locally, first clone the repo, then install the dependencies using your favourite package manager:
yarn
# or
npm installThen run the api loally with
yarn start
# or
npm startThis will start the api at http://localhost:3000/graphql.