{"repo":"cofacts/rumors-api","free":true,"listed":false,"github":"https://github.com/cofacts/rumors-api","clone":"git clone https://github.com/cofacts/rumors-api.git","description":"GraphQL API server for clients like rumors-site and rumors-line-bot","language":"JavaScript","stars":117,"topics":["rumors","elasticsearch","fact-checking","crowdsourcing"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"rumors-api GraphQL API server for clients like rumors-site and rumors-line-bot Configuration For development, copy .env.sample to .env and make necessary changes. For production via rumors-deploy, do setups in docker-compose.yml . Development Prerequisite Docker & docker-compose First-time setup After cloning this repository & cd into project directory, then install the dependencies. OAuth2 If you want to test OAuth2 authentication, fill in the credentials for the provider you want to test in .env . Media Cofacts API uses Google cloud storage to store user reported media files (image, audio, video files). Please populate the following fields in .env if you want to test this. - GCS CREDENTIALS : Service account's JSON file content. - GCS BUCKET NAME : The Google cloud storage bucket to store files. It must grant the service account the following permission: - storage.objects.list : required by cofacts/media-manager - storage.objects.create : required by cofacts/media-manager - storage.objects.get : required by cofacts/media-manager - storage.objects.delete : required by cofacts/media-manager - storage.objects.update : required to update metadata - GCS MEDIA FOLDER : The prefix for stored files. Trailing / is required if you want all root level folders are put under your specified folder. Start development servers This will: rumors-api server on http://localhost:5000 . It will be re-started when you update anyfile. rumors-admin-api server on http://localhost:5500 . It will be r","default_branch":null,"files":null,"tree":[],"storefront":"/r/cofacts","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cofacts/rumors-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}