api-model
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
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