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)
- ruby 2.7 installed (hanami-api requires it atm.)
- bundler gem installed (
gem i bundler
) - redis with ReJSON module running
bundle
rake
then visit: http://localhost:3000
This method will run Redis with Re-JSON by default
docker-compose up
then visit: http://localhost:3000
docker-compose up db
@makevoid