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
- Host: GitHub
- URL: https://github.com/davydovanton/hanami-graphql-example
- Owner: davydovanton
- Created: 2020-04-22T17:07:13.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-18T21:41:01.000Z (over 2 years ago)
- Last Synced: 2025-02-12T22:20:36.749Z (4 months ago)
- Language: Ruby
- Size: 168 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
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
```