Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.16 KB

README.md

File metadata and controls

32 lines (21 loc) · 1.16 KB

Publisher Content API

Superdesk Publisher Content (read only) API powered by GraphQL. It allows to fetch resources from the Superdesk Publisher.

Features:

  • GraphQL support.
  • Integrated GraphiQL to explore GraphQL API.
  • Fetch Superdesk Publisher articles.
  • Pagination is designed to work with the Relay Cursor Connections spec.

This project is using the following libraries:

Installation

  1. Copy .env.dist to .env.
  2. Open .env file and set the value of DATABASE_URL to the URL of the Publisher's database (postgres).
  3. Run cargo run
  4. Then go to http://localhost:8000/graphiql

Configuration

In .env file:

  • PUBLISHER_CDN_URL - CDN URL for images to properly generate URLs when the images are hosted on, for example AWS.