An open API service indexing awesome lists of open source software.

https://github.com/davydovanton/hanami-graphql-example

Simple example of GQL in hanami application
https://github.com/davydovanton/hanami-graphql-example

Last synced: 3 months ago
JSON representation

Simple example of GQL in hanami application

Awesome Lists containing this project

README

        

# 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
```