https://github.com/makevoid/try-hanami-api
Sample Hanami::API app - tries to show how easy it is to achieve a very performant API application with very little code.
https://github.com/makevoid/try-hanami-api
Last synced: 6 months ago
JSON representation
Sample Hanami::API app - tries to show how easy it is to achieve a very performant API application with very little code.
- Host: GitHub
- URL: https://github.com/makevoid/try-hanami-api
- Owner: makevoid
- Created: 2020-05-23T04:52:50.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-16T05:37:09.000Z (almost 3 years ago)
- Last Synced: 2024-04-08T16:25:27.471Z (almost 2 years ago)
- Language: Ruby
- Homepage:
- Size: 93.8 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Sample Hanami::API app
Shows how easy it is to achieve a very performant API application with very little code.
Features of this sample app:
- simple example, 3 routes (+ the seed route)
- API app
- DB: Redis / ReJSON (using [RedisRejson_models](https://github.com/makevoid/RedisRejson_models))
### Requirements
- ruby 2.7 installed (hanami-api requires it atm.)
- bundler gem installed (`gem i bundler`)
- redis with ReJSON module running
### Install
bundle
### Run
rake
then visit:
### Run with docker
This method will run Redis with Re-JSON by default
docker-compose up
then visit:
### Run only redis via docker
docker-compose up db
---
@makevoid