The backend for Filmstrip. Built with movie-api, GraphQL-tools, GraphQL-server, MongoDB, and Agenda.
-
Install node/npm/yarn. The app has been tested with node
6.9.1
. -
Clone and install dependencies:
$ git clone https://github.com/yenbekbay/filmstrip-api.git
$ cd filmstrip-api
$ yarn # npm install
-
Start a local MongoDB server. For macOS, you can use mongoDB.app.
-
Add environment variables:
cp .env.example .env
and edit with your values. -
Get some data
$ yarn run-job # npm run run-job
# Select `saveNewMovies`
- Run the server
$ yarn start # npm start
Open http://localhost:8080/graphiql and try some queries.
GNU GPLv3 License © Ayan Yenbekbay