- Create
database.yml, you could usedatabase.yml.sampleas a sample - run bundler
bundle install - run migration
rake db:migrate - run puma with application instance
rackup
Now you have got application on localhost:9292
Im using swagger ui to explore api's you could do the same to explore http://localhost:9292/swagger_doc
or use
curl -X GET "http://localhost:9292/dictionaries?page=1" -H "accept: application/json" -H "content-type: application/json"