Skip to content

performantdata/graphql-example.g8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL service example template

This is a Giter8 template to assist prospective GraphQL users in quickly setting up a service. It comes with all the features that one would expect in a production project. See the generated project's documentation for details.

  • a basic example domain model
  • Web interfacing code for popular Scala libraries
  • database interfacing code for popular Scala libraries and databases
  • authentication and authorization
  • automated project release versioning
  • CI/CD pipeline code

The initial setup creates a project that uses

  • a database model generated by and interfaced to via Slick; and
  • JSON serialization via Circe.

setup

Prerequisites:

  • JDK 17
  • sbt 1.3.x or higher

To create your own project, open a console and run the following command to apply this template:

sbt new performantdata/graphql-example.g8

This template will prompt for the following parameters. Press Enter if the default value suits you:

  • name: Becomes the name of the project.
  • organization: Specifies the organization for this project.

license

graphql-example.g8 by Michael (Performant Data LLC) is licensed under Creative Commons Attribution 4.0 International