Repository for the Conify project
- Ruby 2.2.3
- Node v5.4.0
none
See Quick Start for getting development machine setup on OSX.
We can provide little help and will be mostly on your own, good luck. Cloud9 has been used by some on this project who are using windows, instead of running the env locally.
While you won't be able to run the install script mentioned in the OSX section, reviewing the guide and manually installing the mentioned packages should be fairly straight forward.
- Run
$ bundle install && npm install
- Run
$ rake wildland:db
- Run
$ foreman start -f Procfile.dev
to start the server
The api uses a rails gem called ApiMe, to get started:
- Design your data model, its relationships, and its fields
- Generate a resource endpoint for your data mode
$ rails g api_me:resource event presentor:belongs_to name:string description:text ...
(See api_me documentation for details) - Add has_many relationships to the model and serializer, then add any additional custom filtering to the specific endpoints filter.
The main frontend app is served by the client_application controller, which can be found under the controllers folder, and the client_application index view. It uses the react_on_rails gem. It is mostly a react JS application that is compiled and built from the /client
directory. Specifically, it used React, React Router, Redux, and Immutable JS, Webpack, and Bootstrap 4.
- If you are new to React, I suggest reviewing the React Tutorial and then the React/Redux Tutorial before getting started.
SECRET_KEY_BASE