pct-org / graphql-api

GraphQL API for the PCT environment

Home Page:https://github.com/pct-org/getting-started

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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].

About

GraphQL API for the PCT environment

https://github.com/pct-org/getting-started

License:MIT License


Languages

Language:TypeScript 98.2%Language:JavaScript 1.0%Language:Shell 0.8%