Skip to content
Peter Olson edited this page Jul 6, 2017 · 9 revisions

TL;DR: Dragonfruit is a tool which creates APIs from real data. It allows designers, developers, and data modelers to collaborate better and to quickly iterate APIs, applications, and data models.

Quick Start

Go to the Dragonfruit Starter repository and follow the instructions there.

What Dragonfruit Does

Dragonfruit introspects your sample data, translates it into an API specification, and then serves APIs based on that specification. This allows you to quickly build, test and tweak APIs and data models.

Dragonfruit uses the Swagger API specification format, and so plays nicely with the larger Swagger tooling ecosystem.

Installing and using Dragonfruit from the command line

To install Dragonfruit on Macs use Homebrew: brew install dragonfruit. For other systems or check out the instructions to build from source.

For more information on running Dragonfruit, check out the documentation at Dragonfruit CLI.

Detailed Documentation

Contributing

We welcome contributions. Your code is awesome.

Please read [Dragonfruit's application architecture] to get a sense of the different components within the codebase.

Some things we'd love to have:

  • Support for more database back-ends
  • Support and validation for more string formats
  • More examples and quick starts
  • Better installation and distribution on non-Macintosh systems
  • Support for more types of sample data (like CSV)

Please send contributions as a pull request, make sure your changes compile and are formatted with Gofmt, and ensure that all changes pass tests defined in Dragonfruit Testing.

Where is everything in the project?

The Dragonfruit project contains several repositories: