api-model

A simple Crystal API Model using Kemal

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

  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

Repository

api-model

Owner
Statistic
  • 7
  • 0
  • 0
  • 0
  • 2
  • over 1 year ago
  • June 25, 2023
License

MIT License

Links
Synced at

Sun, 17 Nov 2024 15:28:50 GMT

Languages