Crystal API Model

A simple API model to be used with Crystal, allowing direct integration with requests using Kemal as the main framework for handling routes

Installation

To perform the installation just clone the repository on your machine

git clone https://github.com/lanjoni/api-model.git && cd api-model

Dependencies

Usage

To run the application and install dependencies:

shards run

Don't forget to set your PostgreSQL credentials in src/pessoa.cr

Contributing

  1. Fork it (https://github.com/lanjoni/api-model/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors