Rails Appointment Scheduler
This was a take-home interview project for a company. It was timboxed to 4 hours. I have since extended it.
Ask:
Input:
Output:
As a User, I want to see which coaches I can schedule with.
As a User, I want to see what 30 minute timeslots are available to schedule with a particular coach.
As a User, I want to book an appointment with a coach at one of their available times.
Anit-Requirements:
You can't do it all. We respect your time, and expect that you will have to make choices and tradeoffs for what is in scope for your deliverable.
Don't worry about authentication. Assume a non-authenticated experience to keep things simple.
Pick your stack. Choose any libraries that help you produce the highest quality work in the time available.
Hobby
tier so your millage may very.I've setup this up, and am developing as I would in a normal Dev environment with other engineers.
This is a public repo (open source) so feel free to push a new branch and create a Pull Request for me with any questions!
I have been pushing branches and creating PR's on Github (ready for code review):
I have added a couple helpful integrations - CodeClime (Rubocop) and CircleCI (Rspec's):
Making use of inline Todo comments while working through the feature to show progress:
Rebasing my git commits (git rebase -i origin/master
) for better clairity in the Git logs:
bundle install
bundle exec rails db:setup
bundle exec rails import:all_data:from_csv
bundle exec rspec
bundle exec rspec -f d --tag ~skip
(to skip pending tests)
bundle exec rubocop
bundle exec rails s
http://localhost:3000/
Mobile Ready (Responsive)
Schedule a coaches time