Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.
/ graphql-api Public archive

GraphQL API for the PCT environment

License

Notifications You must be signed in to change notification settings

pct-org/graphql-api

Repository files navigation

Project moved to popcorn-env

logo
GraphQL API


Projects

Popcorn Time consists of several projects, each doing it's own part.

Project Description
@pct-org/getting-started Explains how to get started with this setup
@pct-org/graphql-api Serves the data to the clients from the MongoDB database
@pct-org/scraper Scrapes everything and saves it to MongoDB database
@pct-org/mongo-models Models used for MongoDB and GraphQL object types
@pct-org/native-app React Native App
@pct-org/updater Updater that automatically updates the projects

Installation

$ yarn install

Running the API

Requirements

  • Make sure MongoDB is running, for Mac users see @pct-org/getting-started repo for the docker-compose file.
  • Copy the .env.example file and fill it in
  • If you want transcoding support make sure you have ffmpeg installed

Development

$ yarn build:watch

# Also run this in a different terminal tab
$ yarn start:watch

Production

$ yarn build
$ yarn start

This project is MIT licensed.

Contributing:

Please see the contributing guide.

Issues

File a issues against pct-org/getting-started prefixed with [graphql-api].