gulp/config.js
.docker-compose run api gulp
Documentation: https://github.com/influitive/inflorm
class ParentForm
include Inflorm
attribute :name, String
attribute :title, String
attribute :child, ChildForm # has_one association
attribute :pets, Array[PetForm] # has_many association
validates :name, presence: true
validates :child, associated: true
validates :pets, associated: true
end
class ChildForm
include Inflorm
attribute :age, Integer
validates :age, presence: true
end
class PetForm
include Inflorm
attribute :name, String
attribute :species, String
validates :name, presence: true
validates :species, presence: true
end
Access the app here: https://api.slack.com/apps
Default configuration for all allowed URLs to sign in is:
http://localhost:5510/users/auth/slack/callback
http://127.0.0.1.nip.io:5510/users/auth/slack/callback
http://192.168.99.100:5510/users/auth/slack/callback
http://192.168.99.101:5510/users/auth/slack/callback
http://192.168.99.100.nip.io:5510/users/auth/slack/callback
http://192.168.99.101.nip.io:5510/users/auth/slack/callback
This README would normally document whatever steps are necessary to get the application up and running.
Things you may want to cover:
Ruby version
System dependencies
Configuration
Database creation
Database initialization
How to run the test suite
Services (job queues, cache servers, search engines, etc.)
Deployment instructions
...