At Phamily, a lot of our work involves building well-crafted software to delight our users. So instead of estoric puzzles and brainteasers, we like to get real and simulate building some real features together.
Imagine we're working together on this todo list feature (in Rails). Our user feedback indicates that due dates are important to manage things better. Please add the following enhancements to the todo list:
- Set a due
- Sort by due date
- Group list by due date, e.g. Overdue, Today, Tomorrow, etc.
- Extra credit: Use some Ajax calls instead of form POSTs.
Fork the project on Repl.it at: https://replit.com/@ToufiqueHarun/todomvc-rails
Add your features. Then email us:
- A completed Repl.it link showing your working code.
- A 3-5 minute screencast link demoing your new features and talking through the major parts of the code.
Feel free to use any screencasting software. Vidyard or Loom are decent if you need a recommendation.
- We expect spending between 2-6 hrs on the project, depending upon your familiarity with the technologies involved. We recommend timeboxing and seeing how much you can do within that time.
- It's okay if you're not able to finish all the features. We prefer fewer things done well over everything done, but not well.
- Feel free to use your intuition and judgement on time-scope-quality tradeoffs related to the features and implementation details.
- Keep code clean. Make things look nice. Have fun with it!
- Clean working code
- Architectural thinking
- Product craftsmanship
- Clear communication
Good luck!
Original Rails on Replit README below
This is a template to get you started with Rails on Replit. It's ready to go so you can just hit run and start coding!
This template was generated using rails new
(after you install the rails
gem from the packager sidebar) so you can always do that if you prefer to set it up from scratch. The only had two make config changes we had to make to run it on Replit:
- bind the app on
0.0.0.0
instead oflocalhost
(see.replit
) - allow
*.repl.co
hosts (seeconfig/environments/development.rb
) - allow the app to be iframed on
replit.com
(seeconfig/application.rb
)
Simple hit run! You can edit the run command from the .replit
file.
Start every command with bundle exec
so that it runs in the context of the installed gems environment. The console pane will give you output from the server but you can run arbitrary command from the shell without stopping the server.
SQLite would work in development but we don't recommend running it in production. Instead look into using the built-in Replit database. Otherwise you are welcome to connect databases from your favorite provider.
If you need help you might be able to find an answer on our docs page. Alternatively you can ask in the community. Feel free to report bugs here and give us feedback here.