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.
Stores are where the state of your Application lives. Anything but a completely static web page will have dynamic states that change because of user inputs, the passage of time, or other external events.
Stores are Ruby classes that keep the dynamic parts of the state in special state variables
- 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.