GithubHelp home page GithubHelp logo

factchecklab / facts-api Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 362 KB

Exchange information about fact check reports. This repo is mirrored from GitLab.

Home Page: https://gitlab.com/factchecklab/facts-api

License: GNU Affero General Public License v3.0

Shell 2.85% JavaScript 92.87% Dockerfile 0.57% HTML 3.71%
fact-check graphql

facts-api's Introduction

Factcheck DB API

The Factcheck DB is a database for exchanging information about fact check reports. The server expose this database with a GraphQL API.

Features

  • Query fact check reports.
  • Find related fact check report with potential misinformation.
  • Publish fact check reports by publishers.

To try out the Factcheck DB API, head over to GraphQL Playground and start querying!

Developing

Requirements

  • Node.js
  • PostgreSQL
  • ElasticSearch

Getting started

First of all, create .env file which contains all the server settings. Copy from .env.example as an example. Check that all backing services are running beforehand.

$ yarn install
$ yarn migrate
$ yarn dev

If you use Docker, the repository contains a Docker Compose file which help you start the required services for you.

$ docker-compose up -d postgres elasticsearch
$ docker-compose run --rm api yarn install
$ docker-compose run --rm api yarn migrate
$ docker-compose up app

The server listen at port 4000. Browse to http://localhost:4000 for GraphQL Playground and use the same URL for GraphQL API endpoint.

Contributing

We welcome contributions to our projects! You can ask questions or file a bug report by creating an issue on GitLab. To contribute, fork this repository on GitLab and create a merge request.

Getting Help

If you have questions, file an issue in our repository on GitLab, you can also contact us at [email protected].

Copyright & License

Copyright (c) 2020 tech@factchecklab.

The source code is licensed under Affero General Public License Version 3.

facts-api's People

Contributors

cheungpat avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.