At this stage of the interview process, you'll be introduced to a very simple Ruby on Rails application, on which you'll have to do a number of exercises. Our goal with this is to examine the various skill sets you have. Let me just point out that you do NOT have to finish all the exercises in order to succeed. We'd rather like to learn the way you think, solve problems and your general knowledge on the topic by watching you work, than just discuss the sheer number of LoC you wrote.
The application you'll be working with today is practically a "guesthouse management app". You can book for a specific date, which will then be displayed on the main page. You're encouraged to try out it's functionality before starting any of the exercises.
If you come across an obstacle which proves to be difficult, feel encouraged to ask us anything! We'll be glad to answer or ask some leading questions. (Or just utilize Google, StackOverflow or https://guides.rubyonrails.org/ to your liking.)
We will provide the tasks later.
I wish you success!
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
You'll need to set up you development environment to be able to start the project. You can read the required list in
the .tool-versions
file.
- Get asdf-vm
- Install required plugins
asdf plugin add ruby asdf plugin add nodejs asdf plugin add yarn asdf plugin add sqlite
- Install tools
asdf install
You need to install the required tools one by one, please try to select the same version we defined in the .tool-versions
file.
- Install Ruby with RubyInstaller. (Note: you need a Ruby+Devkit installer)
- Install NodeJs
- Install yarn with
npm install -g yarn
The installers might ask for Administrator privileges, but you won't need it later. Use normal cmd.exe
to run the commands below.
After installing the Prerequisites, you need to
- Install all dependencies
bundle install yarn install
- Create the database
rails db:setup
- Finally start your local development server
rails s
- Optionally you can run shakapacker dev server to speed up asset handling
or
bin/shakapacker-dev-server
on Windowsruby bin/shakapacker-dev-server
For automated tests, we are using Rails' defaults
You can run the test suit with rails test
We're using rubocop to enforce some consistency. You can run it with rubocop -ED
.
Currently we don't have deployment workflow as it's just a demo application
- Ruby on Rails - Core framework
- Sqlite3 - Used for development database
We are not accepting Pull Requests.
We are using rolling release to update this demo app from time to time.
- App Maintainers ltd.
- See individual contributors on github