Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 981 Bytes

README.md

File metadata and controls

42 lines (28 loc) · 981 Bytes

Formulae

An API for building custom forms.

Installing

  • Clone this repo
  • Install rbenv
  • bundle install

Running the tests

bundle exec rspec

API Documentation

Generating it

We use rspec_api_documentation to write acceptance tests for the API. It auto-generates documentation in JSON format for each test, to build a documentation suite for the API. To generate these JSON files, run:

rake docs:generate

We're using apitome to provide the ability to view the API documentation in a nice fashion. You can see it by visiting http://localhost:3000/api/docs.

Viewing it

Linter

We are using rubocop, to see all the rules we are using, please check the .rubocop.yml file.

License

Formulae is MIT Licensed.