/hanami-graphql-example

Simple example of GQL in hanami application

Primary LanguageRuby

Hanami Project Template

Start project

$ bundle
$ nmp i
  • Change DATABASE_URL in .env.test and in .env.development
$ HANAMI_ENV=test bundle exec hanami db create
$ HANAMI_ENV=test bundle exec hanami db migrate

$ bundle exec hanami db create
$ bundle exec hanami db migrate

$ bundle exec rspec
$ bundle exec haanmi s

CLI commands

$ bundle
$ nmp i

$ HANAMI_ENV=test bundle exec hanami db create
$ HANAMI_ENV=test bundle exec hanami db migrate

$ bundle exec hanami db create
$ bundle exec hanami db migrate

$ bundle exec rspec
$ bundle exec haanmi s