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
- Crystal
- PostgreSQL
Usage
To run the application and install dependencies:
shards run
Don't forget to set your PostgreSQL credentials in
src/pessoa.cr
Contributing
- Fork it (https://github.com/lanjoni/api-model/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- João Lanjoni - creator and maintainer