AOSSIE - Australian Open Source Software Innovation and Education

[Agora-web] Create a GraphQL endpoint in Playframework

Let's create GraphQL endpoint in Play framework.

var schema = Schema(`
  type Query {
    hello: String
    message: String
  }

Response should be

{
  "data": {
     "hello" : "$hello World !",
     "message" : "$message"
  }
}

Steps to Take:

  • Create a repository in Gitlab/Github.
  • Push your code to remote branch
  • Submit the repository link.

Requirements:

  • Basic knowledge of play framework.
  • A working development environment.

Expected Outcome:

  • Repository link

https://www.howtographql.com/graphql-scala/0-introduction/ https://sangria-graphql.org/ https://github.com/sangria-graphql/sangria-playground

Task tags

  • play framework
  • graphql
  • scala

Students who completed this task

Osef-Z

Task type

  • code Code
  • assessment Outreach / Research
close

2018