Build interactive Web applications quickly. Hyperloop encourages rapid development with clean, pragmatic design. With developer productivity as our highest goal, Hyperloop takes care of much of the hassle of Web development, so you can focus on innovation and delivering end-user value.
One language. One model. One set of tests. The same business logic and domain models running on the clients and the server. Hyperloop is fully integrated with Rails and also gives you unfettered access to the complete universe of JavaScript libraries (including React) from within your Ruby code. Hyperloop lets you build beautiful interactive user interfaces in Ruby.
Everything has a place in our architecture. Components deliver interactive user experiences, Operations encapsulate business logic, Models magically synchronize data between clients and servers, Policies govern authorization and Stores hold local state.
Hyper-Operation brings Operations which encapsulate business logic. In a traditional MVC architecture, Operations end up either in Controllers, Models or some other secondary construct such as service objects, helpers, or concerns. Here they are first class objects. Their job is to mutate state in the Stores and Models.
- Update your Gemfile:
#Gemfile
gem 'hyperloop'
-
At the command prompt, update your bundle :
$ bundle update
-
Run the hyperloop install generator:
$ rails g hyperloop:install
-
Follow the guidelines to start developing your application. You may find the following resources handy:
Please do not post usage questions to GitHub Issues. For these types of questions use our Gitter chatroom or StackOverflow.
GitHub Issues is for suggesting enhancements and reporting bugs. Before submiting a bug make sure you do the following:
- Check out our contributing guide for info on our release cycle.
Hyperloop is released under the MIT License.