Skip to content

HivemindTechnologies/sangria-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sangria Sample Application

This is a Scala project for the blog article about Scala HTTP API libraries. It provides a simple example on how to use https://sangria-graphql.github.io/ library.

Provided SBT commands

Clean project files

This will clean the compilation files (*.class) from the project:

sbt clean

Formatting all project files

The following command with format all the Scala files (*.scala) according to the scala format file provided in the project (.scalafmt.conf)

sbt fmt

Compiling the project files

The following command will compile the main project files:

sbt compile

Running the tests

This will execute all the tests in the project:

sbt test

Clean, format, compile, and run the tests in the same command

The sbt check command will execute the following steps:

  1. Clean all compilation files (*.class)
  2. Format all project files
  3. Compile all project files (including test classes)
  4. Execute all the tests
sbt check

Sample Screenshots

GraphiQL Playground

image

GraphiQL API Documentation

image

image

About

Simple Schema

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published