/discography-api

A GraphQL API for discography

Primary LanguageHTMLApache License 2.0Apache-2.0

Discography API Build Status

A GraphQL API for discography. You can try it out here.

Routes

  • GET /graphql - Submit a GraphQL query using a HTTP GET request, see here for more information
  • POST /graphql - Submit a GraphQL query using a HTTP POST request, see here for more information
  • GET /playground - A GraphQL IDE
  • GET /schema - The Discography GraphQL schema

Prerequisites

  1. Java 11
  2. SBT

Installation

$ git clone git@github.com:ChrisWilding/discography-api.git
$ cd discography-api
$ sbt update

Usage

$ docker-compose up -d postgres
$ docker-compose run flyway
$ sbt run

Project is running at http://localhost:9000/

Docker

Prerequisites

  1. Docker

Usage

$ docker-compose build
$ docker-compose up

Project is running at http://localhost:9000/