Git Product home page Git Product logo

appointment-scheduler's Introduction

by Chris Dritsas

Appointment Scheduler

Overview

This was a take-home interview project for a company. It was timboxed to 4 hours. I have since extended it.

  • Ask:

    • "Prototype a web application for scheduling an appointment"
  • Input:

    • "Given a CSV dataset that contains the active coaches and their weekly schedule of their available hours, Output the following User Stories:"
  • 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.

Stack

Heroku

Pull Requests

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):

    alt text

  • I have added a couple helpful integrations - CodeClime (Rubocop) and CircleCI (Rspec's):

    alt text

  • Making use of inline Todo comments while working through the feature to show progress:

    alt text

  • Rebasing my git commits (git rebase -i origin/master) for better clairity in the Git logs:

    alt text

Local Setup

  • bundle install
  • bundle exec rails db:setup
  • bundle exec rails import:all_data:from_csv

Run RSpec's

  • bundle exec rspec

  • bundle exec rspec -f d --tag ~skip (to skip pending tests)

    alt text

Run Rubcop

  • bundle exec rubocop

Run App Locally

  • bundle exec rails s
  • http://localhost:3000/

App Screenshots

  • Mobile Ready (Responsive)

    alt text

  • Schedule a coaches time

alt text


appointment-scheduler's People

Contributors

chrisdrit avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.