Code Generation

API Documentation

Database Export

For PostgreSQL databases, Projectile can generate a full admin web application, Slick and Doobie bindings, GraphQL and OpenAPI endpoints, and more.

Thrift Export

For Thrift APIs, Projectile can extend Scrooge-generated Scala code to provide case classes with Json serialization, services that use Scala Futures, and native scalars.

GraphQL Export

For a GraphQL schema and a set of queries, Projectile can create strongly-typed Scala representations of your models and services, and helper methods to call a running api.

TypeScript

Projectile parses TypeScript definitions and creates a Scala.js facade project

SBT Plugin

An (optional) SBT plugin is provided that updates your generated code on compilation.